Install pip requirements from pypi.openstack.org.
While `setup.py`s were being installed from the openstack pypi mirror, `pip-requires` were coming from pypi.python.org, which has been observed to be less stable. This change installs all pip-requires via pypi.openstack.org. Change-Id: Id78110232f1f6cbce63fbe02c63f30c0e1953212
This commit is contained in:
parent
229f70e088
commit
c4f4495ac7
|
@ -32,7 +32,10 @@ for client in nova quantum glance; do
|
|||
pip install cliff
|
||||
|
||||
pushd /opt/stack/$repo
|
||||
[ -e tools/pip-requires ] && pip install -r tools/pip-requires
|
||||
if [ -e tools/pip-requires ]; then
|
||||
PIP_INDEX_URL=http://pypi.openstack.org/openstack/ \
|
||||
pip install -r tools/pip-requires
|
||||
fi
|
||||
python setup.py develop --script-dir /usr/local/bin
|
||||
popd
|
||||
|
||||
|
|
|
@ -17,7 +17,10 @@ function python-install() {
|
|||
source /opt/stack/venvs/$name/bin/activate
|
||||
set -u
|
||||
|
||||
[ -e $svc_root/tools/pip-requires ] && pip install -r $svc_root/tools/pip-requires
|
||||
if [ -e $svc_root/tools/pip-requires ]; then
|
||||
PIP_INDEX_URL=http://pypi.openstack.org/openstack/ \
|
||||
pip install -r $svc_root/tools/pip-requires
|
||||
fi
|
||||
|
||||
$pip_install $svc_root
|
||||
|
||||
|
|
Loading…
Reference in New Issue