Skip to content

Instantly share code, notes, and snippets.

@acoomans
Last active September 3, 2015 18:58
Show Gist options
  • Save acoomans/243eeeaf1b0ead38697c to your computer and use it in GitHub Desktop.
Save acoomans/243eeeaf1b0ead38697c to your computer and use it in GitHub Desktop.
Publishing to PyPI

Publishing to PyPI

  1. increment version in setup.py, commit and tag

  2. test

     python setup.py develop
     python setup.py test
    
  3. login on PyPi

     python setup.py register
    
  4. build and upload package

      python setup.py sdist
      python setup.py sdist upload
    
  5. test package from Pypi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment