Crafting a releaseΒΆ
- Using git extras, run
git changelog CHANGELOG- Tidy up the changelog output from now until previous tag.
- Set the version string to be the current one ...
python setup.py clean- Test
python setup.py sdist - Test
python setup.py bdist_wheel - Make sure
python setup.py --long-description | rst2html.py --halt=3 > /dev/nullworks ok. - run bumpversion major/minor/patch
- Check the tag and commit.
- Push to
origin(GitHub) - In future, create PyPI releases (see here)
python setup.py sdist upload -r pypipython setup.py bdist_wheel upload -r pypi