[Distutils] nailed-down versions by having custom index
sridharr at activestate.com
Thu Feb 4 03:01:22 CET 2010
On 2010-02-02, at 1:38 PM, Carl Meyer wrote:
>> Question 2: I thought you could only have one index. So installing
>> something extra from pypi seems out. How do people handle that?
> I use pip (and pip requirements files) for installation, and pip has
> both the -i/--index-url option (for replacing PyPI entirely) and the
> - --extra-index-url option (for layering another index in addition to
> PyPI). I don't know how one would do that with other tools.
You can pass multiple `-i' arguments to pip.
$ pip -i http://internal/packages/ -i http://pypi.python.org/simple install internalpackage
Not sure what the `--extra-index-url' is for, then.
More information about the Distutils-SIG