Re: [Distutils] setuptools/buildout: why only one index server configurable
At 08:33 AM 11/26/2008 +0100, Tarek Ziadé wrote:
On Wed, Nov 26, 2008 at 8:22 AM, Andreas Jung
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.
participants (2)
-
Phillip J. Eby
-
Tarek Ziadé