Skip to content

Instantly share code, notes, and snippets.

@michaelconnor00
Last active June 21, 2016 17:14
Show Gist options
  • Save michaelconnor00/149828d28a61929172a3ec1d24d90238 to your computer and use it in GitHub Desktop.
Save michaelconnor00/149828d28a61929172a3ec1d24d90238 to your computer and use it in GitHub Desktop.
Pip install a package for development
pip install --editable .
same as
python setup.py develop
# Source http://peterdowns.com/posts/first-time-with-pypi.html
# Register on pypi
python setup.py register -r pypi
# Push to pypi. Creds in ~/.pypirc
python setup.py sdist upload -r pypi
# Register on testpypi
python setup.py register -r pypitest
# Push to testpypi
python setup.py sdist upload -r pypitest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment