Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

The current process is not entirely sewn up, so here are the basics.

A good example was the tpckd-pdfgen release.

  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:

      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

        

      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.
  • No labels