Last active
September 16, 2017 10:54
-
-
Save iamcryptoki/a12edc3b3ee88ecbb90f329c5940aa32 to your computer and use it in GitHub Desktop.
Sample PyPI configuration file.
This file contains hidden or 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
# Place this file in your $HOME directory. | |
# Set file permissions: chmod 600 ~/.pypirc | |
[distutils] | |
index-servers = | |
pypi | |
testpypi | |
[pypi] | |
# python setup.py sdist upload -r pypi | |
repository=https://upload.pypi.org/legacy/ | |
username=<PASTE_YOUR_USERNAME_HERE> | |
password=<PASTE_YOUR_PASSWORD_HERE> | |
[testpypi] | |
# python setup.py sdist upload -r testpypi | |
repository=https://test.pypi.org/legacy/ | |
username=<PASTE_YOUR_USERNAME_HERE> | |
password=<PASTE_YOUR_PASSWORD_HERE> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment