summaryrefslogtreecommitdiffstats
path: root/Doc/dist
diff options
context:
space:
mode:
authorPhillip J. Eby <pje@telecommunity.com>2006-03-30 02:12:14 (GMT)
committerPhillip J. Eby <pje@telecommunity.com>2006-03-30 02:12:14 (GMT)
commit2e550b3dd2a9c8a90e0811ce9f0f05690ecf05cb (patch)
tree95ec45240a788139eae67a412628f0cc5b08f385 /Doc/dist
parent3c3346daa9bf900080428ed12b6d83aa04f7332b (diff)
downloadcpython-2e550b3dd2a9c8a90e0811ce9f0f05690ecf05cb.zip
cpython-2e550b3dd2a9c8a90e0811ce9f0f05690ecf05cb.tar.gz
cpython-2e550b3dd2a9c8a90e0811ce9f0f05690ecf05cb.tar.bz2
Implementation for patch request #1457316: support --identity option
for setup.py "upload" command.
Diffstat (limited to 'Doc/dist')
-rw-r--r--Doc/dist/dist.tex17
1 files changed, 15 insertions, 2 deletions
diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex
index d6ddad8..fd38e4a 100644
--- a/Doc/dist/dist.tex
+++ b/Doc/dist/dist.tex
@@ -1754,8 +1754,21 @@ built using an earlier invocation of \file{setup.py}, but that only
distributions named on the command line for the invocation including
the \command{upload} command are uploaded.
-The \command{upload} command uses the username and password stored in
-the file \file{\$HOME/.pypirc}, see section~\ref{pypirc}.
+The \command{upload} command uses the username, password, and repository
+URL from the \file{\$HOME/.pypirc} file (see section~\ref{pypirc} for
+more on this file).
+
+You can use the \programopt{--sign} option to tell \command{upload} to
+sign each uploaded file using GPG (GNU Privacy Guard). The
+\program{gpg} program must be available for execution on the system
+\envvar{PATH}. You can also specify which key to use for signing
+using the \programopt{--identity=\var{name}} option.
+
+Other \command{upload} options include
+\programopt{--repository=\var{url}} (which lets you override the
+repository setting from \file{\$HOME/.pypirc}), and
+\programopt{--show-response} (which displays the full response text
+from the PyPI server for help in debugging upload problems).
\chapter{Examples}
\label{examples}