[Distutils] Support for multi-index ?
carl at oddbird.net
Wed May 11 18:02:03 CEST 2011
Hi Mathieu. To complexify Chris' unambiguous "YES!" slightly:
On 05/11/2011 08:26 AM, Mathieu Leduc-Hamel wrote:
> Great, thanks Chris and Carl, but does it mean i can use the
> find-links in the same spirit of the index option ?
In the same spirit, certainly. But the details of how you use it will be
different, as I explained in my last message.
> i'll like to be able to point our buildout to our internal pypi
> instance and also other ones, that was the point of my question...
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. You would need something more like pip's --extra-index-url; I
don't know if buildout has something like that or not.
On the other hand, if by "our internal PyPI" you just mean that you have
some sdist tarballs and you can put them on a webserver, then yes, just
dump them all in a single web-served directory, turn indexes on, and
point find-links at that URL, and that should meet your needs just as well.
More information about the Distutils-SIG