[Python-checkins] cpython (2.7): Issue #16874: fix formatting of setup.py upload options in documentation.

chris.jerdonek python-checkins at python.org
Fri Jan 11 08:05:24 CET 2013


http://hg.python.org/cpython/rev/a30c36fbefcf
changeset:   81391:a30c36fbefcf
branch:      2.7
parent:      81387:2bc04449fd8c
user:        Chris Jerdonek <chris.jerdonek at gmail.com>
date:        Thu Jan 10 22:50:40 2013 -0800
summary:
  Issue #16874: fix formatting of setup.py upload options in documentation.

files:
  Doc/distutils/uploading.rst |  12 ++++++------
  1 files changed, 6 insertions(+), 6 deletions(-)


diff --git a/Doc/distutils/uploading.rst b/Doc/distutils/uploading.rst
--- a/Doc/distutils/uploading.rst
+++ b/Doc/distutils/uploading.rst
@@ -27,21 +27,21 @@
 entered password. This is useful if you do not want to store a clear text
 password in the :file:`$HOME/.pypirc` file.
 
-You can specify another PyPI server with the :option:`--repository=*url*` option::
+You can specify another PyPI server with the ``--repository=url`` option::
 
     python setup.py sdist bdist_wininst upload -r http://example.com/pypi
 
 See section :ref:`pypirc` for more on defining several servers.
 
-You can use the :option:`--sign` option to tell :command:`upload` to sign each
+You can use the ``--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 :option:`--identity=*name*` option.
+which key to use for signing using the ``--identity=name`` option.
 
-Other :command:`upload` options include :option:`--repository=<url>` or
-:option:`--repository=<section>` where *url* is the url of the server and
+Other :command:`upload` options include ``--repository=url`` or
+``--repository=section`` where *url* is the url of the server and
 *section* the name of the section in :file:`$HOME/.pypirc`, and
-:option:`--show-response` (which displays the full response text from the PyPI
+``--show-response`` (which displays the full response text from the PyPI
 server for help in debugging upload problems).
 
 PyPI package display

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list