Write upper-constraints to working-dir
Change-Id: I09e6d10385479ecb23af6391c09b67d42dead201
This commit is contained in:
parent
2dc0881a3d
commit
7ef12b7580
@ -48,9 +48,9 @@ pip_requires() {
|
|||||||
requires="requirements.txt"
|
requires="requirements.txt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$1
|
wget http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$1 -O $WORKING_DIR_PATH/upper-constraints.txt
|
||||||
echo "Install pip requirements from $requires"
|
echo "Install pip requirements from $requires"
|
||||||
pip install -c upper-constraints.txt -r $requires
|
pip install -c $WORKING_DIR_PATH/upper-constraints.txt -r $requires
|
||||||
|
|
||||||
# Workaround for old python version on ubuntu-precise
|
# Workaround for old python version on ubuntu-precise
|
||||||
ubuntu_version=$( lsb_release -r | awk '{ print $2 }' | sed 's/[.]//' )
|
ubuntu_version=$( lsb_release -r | awk '{ print $2 }' | sed 's/[.]//' )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user