The Python Package Index (PyPI) not only stores the package info, but also
the package data if the author of the package wishes to. The distutils
command upload
pushes the distribution files to PyPI.
The command is invoked immediately after building one or more distribution files. For example, the command
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 invocation of setup.py, but that only
distributions named on the command line for the invocation including
the upload
command are uploaded.
The upload
command uses the username and password stored in
the file $HOME/.pypirc, see section 6.1.
See About this document... for information on suggesting changes.