Skip to content

Instantly share code, notes, and snippets.

@cshtdd
Created July 25, 2014 04:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cshtdd/6bc3efa2367960d438d8 to your computer and use it in GitHub Desktop.
Save cshtdd/6bc3efa2367960d438d8 to your computer and use it in GitHub Desktop.
# read http://peterdowns.com/posts/first-time-with-pypi.html
# make sure to have a ~/.pypirc configured with users and passwords
# go to the package folder
# publish package to test pypi
python setup.py register -r pypitest
python setup.py sdist upload -r pypitest
# publish package to live pypi
python setup.py register -r pypi
python setup.py sdist upload -r pypi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment