- [x] Update HISTORY.rst - [x] Update version number in `my_project/__init__.py` - [x] Update version number in `setup.py` - [x] Install the package again for local development, but with the new version number: ``` python setup.py develop ``` - [x] Run the tests: ``` python setup.py test tox ``` - [x] Commit the changes: ``` git add . git commit -m "Release 0.1.1" ``` - [x] Build the source distribution: ``` python setup.py sdist ``` - [x] 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 ``` - [x] Release on PyPI: ``` python setup.py sdist upload ``` - [x] Test that it pip installs: ``` mktmpenv pip install my_project deactivate ``` - [x] Tag the last git commit with the version number: ``` git tag -a 0.1.1 ``` Put the same message as in HISTORY.rst. - [x] Push: `git push` - [x] Push tags: `git push --tags` - [x] Check the PyPI listing page to make sure that the README, release notes, and roadmap display properly. If not, copy and paste the RestructuredText into http://rst.ninjs.org/ to find out what broke the formatting. - [x] Edit the release on GitHub (e.g. https://github.com/audreyr/cookiecutter/releases). Paste the release notes into the release's release page, and come up with a title for the release.