On Thu, Aug 21, 2008 at 2:59 PM, Tarek Ziade <[EMAIL PROTECTED]>wrote:
> > > 2008/8/20 Phillip J. Eby <[EMAIL PROTECTED]> > >> At 07:22 PM 8/13/2008 +0200, Tarek Ziade wrote: >> >>> 2008/8/12 Phillip J. Eby <<mailto:[EMAIL PROTECTED]> >>> [EMAIL PROTECTED]> >>> What you really want/need is to make the PackageIndex support retrieval >>> from multiple index urls; the PackageIndex itself aggregates available >>> packages from sources such as the local file system, -f urls, and an >>> underlying package index. So having multiple aggregators would duplicate >>> processing, and deprive you of a global ordering of package precedences. >>> >>> Is this a feature you would like to see in setuptools ? If so I can write >>> a patch, >>> >> >> Just be aware that I'm likely to be rather picky about how it works. :) > > > I bet, I'll give a try and submit it :) > Ok I have submitted a patch here http://bugs.python.org/setuptools/issue32 I have added a test where I played with two indexes: Pypi and another custom one, that hold a package version PyPI don't. I changed the code accordingly, and recorded all urllib2.urlopen input/output into a mapping saved in a shelve file, so the test can work without external calls. (maybe this could be pushed in a helper in the sandbox) I have also added a deprecation warning, but I don't know if this is something you want.. I have tested it successfully with several buildouts and I will test it more this week, together with your latest bug fixes. Tarek -- Tarek Ziadé | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com/
_______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
