-
Bump the version in green/VERSION
-
Make sure everything is committed.
-
Run
make release
, which will: a. Run the unit tests b. Distribute to PyPi-Test c. Commit the MANIFEST file if it changed. d. Tag and push the new version. e. Distribute to PyPi
-
Set up
~/.pypirc
[distutils] index-servers = pypi pypi-test
[pypi] repository: https://pypi.python.org/pypi username: (my username) password: (my password)
[pypi-test] repository: https://testpypi.python.org/pypi username: (my username) password: (my password)
-
python setup.py register -r pypi
-
python setup.py sdist upload -r pypi