These steps are intended to help guide a developer into making a new release. For these instructions, version is to be replaced by the version number of the release.
- Edit setup.cfg and remove .dev from the version number
- Edit CHANGES.rst to change unreleased to the date of the release.
- Commit and push
- git tag -a version -m "releasing new version version" (this makes a release tag)
- git push origin version
- python setup.py sdist (this makes a .tar.gz of the package in dist)
- twine upload sdist/* (this uploads the output of the previous step to pypi)
- Edit setup.cfg and set the version to the next release number and add .dev after the version number. Add a new section at the top for the next release number
- Commit and push. This begins the new release