Fix another remaining use of PIP_INDEX_URL.

Scripts directly embedding a manual pip url break elements like pypi
which offer a local mirror, and that plays havoc with offline builds -
they stay rather more online than desirable :).

Change-Id: I2edf05f0144e11158756125af6afbf63efc5ee95
This commit is contained in:
Robert Collins 2013-09-29 07:43:49 +13:00
parent 0439512531
commit 9ab465bce5

View File

@ -20,11 +20,9 @@ for client in $client_install_list; do
pushd /opt/stack/$repo
if [ -e requirements.txt ]; then
PIP_INDEX_URL=http://pypi.openstack.org/openstack/ \
pip install -r requirements.txt
pip install -r requirements.txt
elif [ -e tools/pip-requires ]; then
PIP_INDEX_URL=http://pypi.openstack.org/openstack/ \
pip install -r tools/pip-requires
pip install -r tools/pip-requires
fi
python setup.py develop --script-dir /usr/local/bin
popd