diff options
Diffstat (limited to 'Doc/distutils/uploading.rst')
| -rw-r--r-- | Doc/distutils/uploading.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/distutils/uploading.rst b/Doc/distutils/uploading.rst index e3aa7c3f51..36e7b8f325 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). - |
