Skip to content

Releasing PyZMQ

minrk edited this page Feb 21, 2013 · 4 revisions

Currently, we are using the following steps to release PyZMQ:

  • Make sure AUTHORS.md has an updated list of contributors.

  • Check the version number in zmq/sugar/version.py.

  • Remove old MANIFEST and egg-info files and dist and build directories (python setup.py clean).

  • Check MANIFEST.in, in case of file list changes (test python setup.py sdist).

  • Register the release with pypi:

    python setup.py register
    
  • Build source distributions and upload:

    python setup.py sdist --formats=zip,gztar upload
    
  • Branch the release (do not push the branch):

    git checkout -b $VERSION master
    
  • commit the changed version.py to the branch:

    git add zmq/sugar/version.py && git commit -m "bump version to $VERSION"
    
  • Tag the release:

    git tag -a -m "Tagging release $VERSION" v$VERSION
    git push origin --tags
    
  • Announce on list.

Clone this wiki locally