The current process is entirely sewn, so here are the basics.
A good example was the tpckd-pdfgen release.
- Add a __version__ = '0.0.1' line to the __init__.py file.
- Add a setup.py file at the top level.
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)
- The call to setup() contains at least
setup( name='tpckd-pdfgen', version=version )
- A build job, which
- Includes the housekeeping repo
- triggers on the repo being modified.
- 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>".
- Currently we only release from the command line, but I will change that.