Workaround for old python in 1204
Python in ubuntu 12.04 needs an older version of greenlet. This is a workaround while turbo-hipster is upgraded to 16.04. Change-Id: Iaa1c806583f79378e40b76abf11bbce2a4361c45
This commit is contained in:
parent
676fa221cd
commit
f224cae0bd
@ -48,6 +48,14 @@ pip_requires() {
|
||||
fi
|
||||
echo "Install pip requirements from $requires"
|
||||
pip install -q -r $requires
|
||||
|
||||
# Workaround for old python version on ubuntu-precise
|
||||
ubuntu_version=$( lsb_release -r | awk '{ print $2 }' | sed 's/[.]//' )
|
||||
if [ $ubuntu_version -eq 1204 ]
|
||||
then
|
||||
pip install -U "greenlet<0.4.9"
|
||||
fi
|
||||
|
||||
echo "Requirements installed"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user