- [x] Update HISTORY.rst - [x] Update version number in `my_project/__init__.py` - [ ] Run the tests: ``` python setup.py test tox ``` - [ ] Commit the changes: ``` git add . git commit -m "Release 0.1.1" ``` - [ ] Build the source distribution: ``` python setup.py sdist ``` - [ ] Test that the sdist installs: ``` mktmpenv cd dist tar xzvf my_project-0.1.1.tar.gz cd my_project-0.1.1/ python setup.py install deactivate ``` - [ ] Release on PyPI: ``` python setup.py publish ``` - [ ] Test that it pip installs: ``` mktmpenv pip install my_project deactivate ``` - [ ] Tag the last git commit with the version number: ``` git tag -a 0.1.1 ``` Put the same message as in HISTORY.rst. - [ ] Push: `git push` - [ ] Push tags: `git push --tags`