Issue32

Title Make setuptools handle multiple index locations (index url)
Priority feature Status chatting
Superseder Nosy List lszyba1, tarek
Assigned To Keywords

Created on 2008-08-12.12:21:30 by tarek, last changed 2008-12-23.15:31:25 by tarek.

Files
File name Uploaded Type Edit Remove
muliple-indexes.patch tarek, 2008-08-21.22:03:42 application/octet-stream
Messages
msg225 (view) Author: tarek Date: 2008-12-23.15:31:25
yes, this is how it would look, beside the fact that I used "," commas as a
separator in the patch since the option can also be passed from the command
line. (but both could work)

In the meantime, while this patch is being reviewed, I do believe pip already
has a multiple index implementation. So if you are not using zc.buildout you
might want to take a look at pip.
msg222 (view) Author: lszyba1 Date: 2008-12-23.14:11:15
This would be useful. Currently similar index list is located in turbogears
project, and while some new packages are already on tg2 index, some are not. You
get an error if the package can't be found, so having a second index I could
point to would allow for a "fail over":
From reading setuptools it seems as this would be a recommended setup.cfg
configuration.
[easy_install] 
index_url = http://turbogears.org/2.0/downloads/current/index/
            http://pypi.python.org/simple/


Let me know which version this gets implemented in assuming this patch allows
for a configuration I just specified above.
Thanks,
Lucas
msg113 (view) Author: tarek Date: 2008-08-21.22:03:42
Here's a patch that implements a first draft of the feature
msg80 (view) Author: tarek Date: 2008-08-12.12:21:29
PyPI mirrors and alternative packages servers are starting to appear. To be able
to use them efficiently, setuptools should be able to handle a list of index url
instead of a single one.

That would involve playing with several instance of PackageIndex but would allow
retrieving packages from several sources, whether they are mirrors or
alternative package servers.
History
Date User Action Args
2008-12-23 15:31:25tareksetmessages: + msg225
2008-12-23 14:11:15lszyba1setnosy: + lszyba1
messages: + msg222
2008-08-21 22:03:43tareksetfiles: + muliple-indexes.patch
status: unread -> chatting
messages: + msg113
2008-08-12 12:23:04tareksettitle: Make setuptools hanlde multiple index locations (index url) -> Make setuptools handle multiple index locations (index url)
2008-08-12 12:21:30tarekcreate