aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-01-09 00:15:45 +0000
committerTarek Ziadé <ziade.tarek@gmail.com>2009-01-09 00:15:45 +0000
commit13f7c3b6cad28ee57390c7650e1bf644f0b3943f (patch)
treef74d6310917922466929bc468f2d9ee64300d2be /Doc/distutils/uploading.rst
parentIssue #4751: hashlib now releases the GIL when hashing large buffers (diff)
downloadcpython-13f7c3b6cad28ee57390c7650e1bf644f0b3943f.tar.gz
cpython-13f7c3b6cad28ee57390c7650e1bf644f0b3943f.tar.bz2
cpython-13f7c3b6cad28ee57390c7650e1bf644f0b3943f.zip
Merged revisions 68415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68415 | tarek.ziade | 2009-01-09 00:56:31 +0100 (Fri, 09 Jan 2009) | 1 line fixed #4394 make the storage of the password optional in .pypirc ........
Diffstat (limited to 'Doc/distutils/uploading.rst')
-rw-r--r--Doc/distutils/uploading.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/distutils/uploading.rst b/Doc/distutils/uploading.rst
index e3aa7c3f517..36e7b8f325d 100644
--- a/Doc/distutils/uploading.rst
+++ b/Doc/distutils/uploading.rst
@@ -11,7 +11,7 @@ package data if the author of the package wishes to. The distutils command
The command is invoked immediately after building one or more distribution
files. For example, the command ::
- python setup.py sdist bdist_wininst upload
+ python setup.py sdist bdist_wininst upload
will cause the source distribution and the Windows installer to be uploaded to
PyPI. Note that these will be uploaded even if they are built using an earlier
@@ -20,11 +20,14 @@ line for the invocation including the :command:`upload` command are uploaded.
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).
+file). If a :command:`register` command was previously called in the same command,
+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::
- python setup.py sdist bdist_wininst upload -r http://example.com/pypi
+ python setup.py sdist bdist_wininst upload -r http://example.com/pypi
See section :ref:`pypirc` for more on defining several servers.
@@ -38,4 +41,3 @@ Other :command:`upload` options include :option:`--repository=<url>` or
*section* the name of the section in :file:`$HOME/.pypirc`, and
:option:`--show-response` (which displays the full response text from the PyPI
server for help in debugging upload problems).
-