On Wed, Nov 26, 2008 at 6:21 PM, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 08:33 AM 11/26/2008 +0100, Tarek Ziadé wrote: >> >> On Wed, Nov 26, 2008 at 8:22 AM, Andreas Jung <[EMAIL PROTECTED]> wrote: >> > Hi there, >> > >> > in buildout I can define only one alternative index server using 'index >> > = >> > http://pypi.zopyx.com'. Now we are in the situation where we are running >> > two >> > internal index servers (one for our own internal packages and one PyPI >> > mirror). Is there some reason for this limitation? I assume this is a >> > limitation/feature coming from setuptools? >> >> Yes it is. That is exactly where setuptools needs to evolve. >> >> For the record: I have asked for that a few months ago, and Jim said >> he wanted to stick with setuptools. >> >> So proposed a patch in setuptools to be able to merge several indexes, >> (see http://bugs.python.org/setuptools/issue32) >> >> But it hasn't been reviewed yet. > > Actually, I've reviewed it, I just haven't commented on it yet. There are a > few minor issues that I know how they should be fixed (e.g. adding an > .isindex(url) method instead of hardcoding loops everywhere), but there's a > bigger picture issue (search order among indexes) that I'm not certain about > yet, and it interacts with some other issues (like option naming, creation > signature of PackageIndex, etc.) > > So, I'm still mulling that part over.
Ok great. For the ordering I supposed that the order given in the option could be the priority: the first index is tried, then the second, etc. > > -- 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
