Alastair Porter edited this page Feb 6, 2014 · 8 revisions
Clone this wiki locally

Making a release

  • Run tests on python2 and python3 (python setup.py test)
  • Make sure CHANGES is up to date (group items by new features, removed things, bug fixes. Within each group order by importance or date (oldest at top)).
  • Change version number
  • Create a commit for the version. Message 'Release version 0.x)
  • Create a tag (git tag -a v0.4 -m '0.4')
  • Upload to pypi (python setup.py sdist upload)
  • Push to github (git push --tags)
  • Prepare for next version (version number 0.xdev, add stub to CHANGES)
  • Enable the new tag on RTD (admin->versions), latest is updated automatically