[Distutils] Support for multi-index ?

Carl Meyer carl at oddbird.net
Wed May 11 18:45:09 CEST 2011

Hi Chris,

On 05/11/2011 11:17 AM, Chris Withers wrote:
> On 11/05/2011 17:02, Carl Meyer wrote:
>> Depends what you mean by "our internal pypi instance." If you already
>> have a running instance of some software that emulates PyPI, including
>> the specific layout of PyPI's project/version URLs, and you're tied to
>> keeping that, you will not be able to just point find-links at that
>> index.
> Sure you would, as if this was the case, it would have the same 'simple'
> view that the real PyPI has, you'd just need to point find-links at that.

That doesn't actually work. The simple index is still one link away from
the actual tarball links, and find-links doesn't spider across. I just
tested with both easy_install and pip, and with either one, pointing
find-links directly at the PyPI simple/ page does not work. You'd have
to use e.g. --find-links http://pypi.python.org/simple/projectname when
installing "projectname".

> I'm not sure, but you might see find-links doing the insane setuptools
> spidering this, in which case, even non-simply links will be fine.

simple/ is irrelevant here, it would have to spider in either case. And
it doesn't.

> So, the short YES would have sufficed and been less confusing ;-)

Also wrong ;-)


More information about the Distutils-SIG mailing list