Last active
August 29, 2015 14:10
-
-
Save stnbu/66b344d01c5f6af63b1d to your computer and use it in GitHub Desktop.
*roughly* the steps needed to submit a package to python's pypi repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# my highly abridged recipe for pushing to pypi: | |
python setup.py clean -a ; rm -rf *.egg-info/ dist/ */direg.egg-info/ README.rst ; find . -name "*.pyc" -exec rm "{}" \; | |
python setup.py check --restructuredtext --metadata | |
python setup.py test | |
python setup.py register -r https://pypi.python.org/pypi | |
python setup.py sdist upload -r https://pypi.python.org/pypi --sign --identity=someguy@example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment