Skip to content
Nicholas Charriere edited this page Nov 6, 2016 · 7 revisions
  • prepare release notes, add them to ChangeLog.rst
  • Commit all of your changes:
  • Update version number (can also be minor or major, the following example bumps a patch from 1.3.6 to 1.3.7)
bumpversion --current-version 1.3.6 --new-version 1.3.7 pymemcache/__init__.py setup.cfg
  • Install the package again for local development, but with the new version number:
python setup.py develop
  • Run the tests:
tox
  • Merge to master, and pull in changes locally
  • Release on PyPI by uploading both sdist and wheel (need ~/.pipyrc with pipy credentials) :
python setup.py sdist upload
python setup.py bdist_wheel upload
  • Test that it pip installs:
virtualenv tempenv
source tempenv/bin/activate
pip install pymemcache
<try out my_project>
deactivate
  • Push: git push
  • Push tags: git push --tags
  • 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.
  • Edit the release notes on GitHub

Inspired and adapted by the Audrey's great checklist

Clone this wiki locally