summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2013-01-11 06:50:40 (GMT)
committerChris Jerdonek <chris.jerdonek@gmail.com>2013-01-11 06:50:40 (GMT)
commitd3003cb0b219f6fa20d5df7fb01eb5651178476c (patch)
tree6cf0a59c0edbe56bce97d7e5cc4b1b7bbf22fd7a
parent5c4e32b131af335d82e467ba95d6b30a414020e8 (diff)
downloadcpython-d3003cb0b219f6fa20d5df7fb01eb5651178476c.zip
cpython-d3003cb0b219f6fa20d5df7fb01eb5651178476c.tar.gz
cpython-d3003cb0b219f6fa20d5df7fb01eb5651178476c.tar.bz2
Issue #16874: fix formatting of setup.py upload options in documentation.
-rw-r--r--Doc/distutils/uploading.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/distutils/uploading.rst b/Doc/distutils/uploading.rst
index 12ee328..89ca560 100644
--- a/Doc/distutils/uploading.rst
+++ b/Doc/distutils/uploading.rst
@@ -27,21 +27,21 @@ and if the password was entered in the prompt, :command:`upload` will reuse the
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