- Update setup.py and CHANGES.txt and commit
- Create version tag and tarball from tag
    WVER=0.1.0
    git tag v${WVER}
    git push origin master
    git push origin v${WVER}
    git archive --format=tar --prefix=websockify-${WVER}/ v${WVER} > websockify-${WVER}.tar
    gzip websockify-${WVER}.tar
- Register with pypi.python.org (once):
    python setup.py register
- Upload the source distribution to pypi
    python setup.py sdist upload
