From 9ab465bce501fbda9f91861669ca51031bc59930 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Sun, 29 Sep 2013 07:43:49 +1300 Subject: [PATCH] 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 --- elements/openstack-clients/install.d/51-openstack-clients | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/elements/openstack-clients/install.d/51-openstack-clients b/elements/openstack-clients/install.d/51-openstack-clients index 868c36f35..31b46f0f4 100755 --- a/elements/openstack-clients/install.d/51-openstack-clients +++ b/elements/openstack-clients/install.d/51-openstack-clients @@ -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