-
Change version number in setup.py
-
Add release notes to CHANGELOG.md
-
Build package
$ rm -rf dist/
$ python setup.py sdist
- Commit changes and tag code
$ git add . --all
$ git commit -a -m "bumped version number"
$ git push origin master
$ git tag <version-number>
$ git push --tags
- Push changes to PyPI (using twine)
$ twine upload dist/*