From 2e0ef2a83c7e662b1bd48926c1dc82bc44aa5efd Mon Sep 17 00:00:00 2001 From: Kai Hoppert Date: Sun, 1 Sep 2013 14:41:44 +0200 Subject: Add documentation --HG-- extra : histedit_source : ff07b41a59ac22e1c05ce4fd42c6771378e80f13 --- docs/easy_install.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'docs') diff --git a/docs/easy_install.txt b/docs/easy_install.txt index 03f816de..ffe6a268 100644 --- a/docs/easy_install.txt +++ b/docs/easy_install.txt @@ -454,6 +454,30 @@ 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 + +:: + + find-links = http://myrepos.com/eggs Controlling Build Options ~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.1 From 915b99c8440fe0aa04609ce249a0e845f5b97e44 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 14 Nov 2013 10:39:19 -0500 Subject: Updated documentation on .pypirc support for credentials. --- docs/easy_install.txt | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) (limited to 'docs') diff --git a/docs/easy_install.txt b/docs/easy_install.txt index ffe6a268..a56dee49 100644 --- a/docs/easy_install.txt +++ b/docs/easy_install.txt @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.1