summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-02-11 23:47:28 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-02-11 23:47:28 -0500
commit5367a7399762a9098ea689c7cdcb54fb9748dd66 (patch)
tree6bc8d62b0468c64e1811c7b24729018aaa45429e /docs
parent0975916c1436759b5e373733561142caf708def4 (diff)
downloadpython-setuptools-git-20.1.tar.gz
Override upload command to load passwords from keyring when available and not otherwise specified.20.1
Diffstat (limited to 'docs')
-rw-r--r--docs/setuptools.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt
index 064acd5f..610a0e61 100644
--- a/docs/setuptools.txt
+++ b/docs/setuptools.txt
@@ -2332,6 +2332,22 @@ The ``upload`` command is implemented and `documented
<https://docs.python.org/3.1/distutils/uploading.html>`_
in distutils.
+Setuptools augments the ``upload`` command with support
+for `keyring <https://pypi.python.org/pypi/keyring>`_,
+allowing the password to be stored in a secure
+location and not in plaintext in the .pypirc file. To use
+keyring, first install keyring and set the password for
+the relevant repository, e.g.::
+
+ python -m keyring set <repository> <username>
+ Password for '<username>' in '<repository>': ********
+
+Then, in .pypirc, set the repository configuration as normal,
+but omit the password. Thereafter, uploads will use the
+password from the keyring.
+
+New in 20.1: Added keyring support.
+
.. _upload_docs:
``upload_docs`` - Upload package documentation to PyPI