Skip to content

Instantly share code, notes, and snippets.

@iamcryptoki
Last active September 16, 2017 10:54
Show Gist options
  • Save iamcryptoki/a12edc3b3ee88ecbb90f329c5940aa32 to your computer and use it in GitHub Desktop.
Save iamcryptoki/a12edc3b3ee88ecbb90f329c5940aa32 to your computer and use it in GitHub Desktop.
Sample PyPI configuration file.
# 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