I am running a local pypi server. I can install packages from this server by either specifying it with the -i
option of the pip
command or by setting the PIP_INDEX_URL
environment variable. When I install a package that has prerequisites, setup.py
has historically honored the PIP_INDEX_URL
environment variable, pulling the additional packages from my local server.
However, on a couple of systems that have been recently installed, it is behaving differently. Running, for instance, python setup.py develop
fails because it tries to install prerequisites packages from pypi.python.org.
I have updated all of the related python packages (python
, distribute
, virtualenv
, pip
, etc...) on all the systems I'm testing on and continue to see this discrepancy. On my "original" system, setup.py
downloads prerequisites from the pypi server specified in my PIP_INDEX_URL
environment variable. On the newer systems, I can't seem to make it honor this variable.
What am I missing?