diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-10 20:52:01 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-10 20:52:01 (GMT) |
commit | 10f5db6424595f0389ff84e053a12a1b60d73cd2 (patch) | |
tree | 3d518843159383fd096c9478e72f124ea5ef2e3e /Doc/distutils/packageindex.rst | |
parent | 844f757aae9b2e4975d4b98f8dc8b5f5fbd69608 (diff) | |
download | cpython-10f5db6424595f0389ff84e053a12a1b60d73cd2.zip cpython-10f5db6424595f0389ff84e053a12a1b60d73cd2.tar.gz cpython-10f5db6424595f0389ff84e053a12a1b60d73cd2.tar.bz2 |
Revert r62998 as it broke the build (seems distutils.config is missing).
Diffstat (limited to 'Doc/distutils/packageindex.rst')
-rw-r--r-- | Doc/distutils/packageindex.rst | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/Doc/distutils/packageindex.rst b/Doc/distutils/packageindex.rst index ef81d64..8242012 100644 --- a/Doc/distutils/packageindex.rst +++ b/Doc/distutils/packageindex.rst @@ -55,40 +55,11 @@ The .pypirc file The format of the :file:`.pypirc` file is as follows:: - [distutils] - index-servers = - pypi - - [pypi] + [server-login] repository: <repository-url> username: <username> password: <password> *repository* can be omitted and defaults to ``http://www.python.org/pypi``. -If you want to define another server a new section can be created:: - - [distutils] - index-servers = - pypi - other - - [pypi] - repository: <repository-url> - username: <username> - password: <password> - - [other] - repository: http://example.com/pypi - username: <username> - password: <password> - -The command can then be called with the -r option:: - - python setup.py register -r http://example.com/pypi - -Or even with the section name:: - - python setup.py register -r other - |