[Python-checkins] r43435 - in python/trunk: Doc/dist/dist.tex Lib/distutils/command/upload.py

George Yoshida dynkin at gmail.com
Thu Mar 30 07:15:27 CEST 2006


On 3/30/06, phillip.eby <python-checkins at python.org> wrote:
> Author: phillip.eby
> Date: Thu Mar 30 04:12:14 2006
> New Revision: 43435
>
> Modified:
>    python/trunk/Doc/dist/dist.tex
>    python/trunk/Lib/distutils/command/upload.py
> Log:
> Implementation for patch request #1457316: support --identity option
> for setup.py "upload" command.


You need to use \longprogramopt for --long=options.
See http://docs.python.org/doc/inline-markup.html

Index: Doc/dist/dist.tex
===================================================================
--- Doc/dist/dist.tex   (revision 43439)
+++ Doc/dist/dist.tex   (working copy)
@@ -1758,16 +1758,16 @@
 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
+You can use the \longprogramopt{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.
+using the \longprogramopt{identity=\var{name}} option.

 Other \command{upload} options include
-\programopt{--repository=\var{url}} (which lets you override the
+\longprogramopt{repository=\var{url}} (which lets you override the
 repository setting from \file{\$HOME/.pypirc}), and
-\programopt{--show-response} (which displays the full response text
+\longprogramopt{show-response} (which displays the full response text
 from the PyPI server for help in debugging upload problems).

 \chapter{Examples}

--
george


More information about the Python-checkins mailing list