Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Add a __version__ = '0.0.1' line to the __init__.py  file.
  2. Add a setup.py file at the top level.
    1. This should include a piece of code as follows:

      Code Block
      with open('tpckd/__init__.py', 'r') as f:
           version = re.search(
               r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
               f.read(),
               re.MULTILINE
      
          ).group(1)


    2. The call to setup() contains at least

        

      Code Block
      setup(
      	name='tpckd-pdfgen',
      	version=version
      )


  3. A build job, which
    1. Includes the housekeeping repo
    2. triggers on the repo being modified.
    3. includes the Build Wheel step, which is a
      reference to the scripthousekeeping/scripts/linux/build_wheel.sh
      with arguments "<name of the index>" "<name of wheel file>".
  4. Currently we only release from the command line, but I will change that.