Skip to content

Upload to PyPi Instructions

Ole Weidner edited this page Oct 8, 2013 · 6 revisions

Upload to PyPi Instructions

Create a new Git Tag*

The tag version will be the version of the release!

git tag -a v0.1.1 -m "Tagging 0.1.1 release"
git push origin v0.1.1

Remove Previously Created VERSION

(If exists)

rm radical/utils/VERSION

Create a ~/.pypirc file (add real password):

[distutils]
index-servers = pypi

[pypi] 
username:sagaproject
password:

Upload the source distribution:

python setup.py sdist upload

The result should look like this:

Submitting dist/radical.utils-0.1.tar.gz to http://pypi.python.org/pypi
Server response (200): OK
Clone this wiki locally