Release ProcessΒΆ
Checkout the current
masterbranch, with a clean working directory.Modify the
CHANGELOG.rstto include changes made since the last release.Bump the version in
packaging/__about__.pyInstall the latest
setuptools,wheelandtwinepackages from PyPI:$ pip install --upgrade setuptools wheel twine
Ensure no
dist/folder exists and then create the distribution files:$ python setup.py sdist bdist_wheel
Check the built distribution files with
twine:$ twine check dist/*
If all goes well, upload the build distribution files:
$ twine upload dist/*
Bump the version for development in
packaging/__about__.pyandCHANGELOG.rst.