-
Notifications
You must be signed in to change notification settings - Fork 0
Updating pypi package
Andrew Ang edited this page Aug 1, 2018
·
3 revisions
Requirements:
- twine (
pip install twine) - Create accounts on pypi and pypi test
- Set up .pypirc file
From repo root:
python setup.py sdist bdist_wheel
# upload to test
twine upload --repository testpypi dist/*
# may want to test out download/setup from testpypi first:
# pip install --index-url https://test.pypi.org/simple --extra-index-url https://pypi.org/simple gdocrevisions
# upload to pypi
twine upload dist/*
Full tutorial: https://packaging.python.org/tutorials/packaging-projects/