Commit 915b99c8 authored by Jason R. Coombs's avatar Jason R. Coombs

Updated documentation on .pypirc support for credentials.

parent cee7279f
......@@ -454,30 +454,15 @@ You can do this with both index page URLs and direct download URLs. As long
as any HTML pages read by easy_install use *relative* links to point to the
downloads, the same user ID and password will be used to do the downloading.
Authentication against privat repository
----------------------------------------
To get these things running. You need a .pypirc file in your home directory. The file should has the following format.
Example
::
[distutils]
index-servers = myrepos
[myrepos]
repository: http://myrepos.com
username:MY_USER
password:MY_PASSORD
In your buildout.cfg you have to add the eggserver url under find-links. The example is for an mypypi egg server. /eggs provides a flat package list.
Example
::
Using .pypirc Credentials
-------------------------
find-links = http://myrepos.com/eggs
In additional to supplying credentials in the URL, ``easy_install`` will also
honor credentials if present in the .pypirc file. Teams maintaining a private
repository of packages may already have defined access credentials for
uploading packages according to the distutils documentation. ``easy_install``
will attempt to honor those if present. Refer to the distutils documentation
for Python 2.5 or later for details on the syntax.
Controlling Build Options
~~~~~~~~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment