Merge "Use packaged pip instead of easy_install"
This commit is contained in:
commit
834b5eff5c
@ -70,8 +70,7 @@ function prep_work {
|
|||||||
yum install -y MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel
|
yum install -y MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel
|
||||||
elif is_ubuntu; then
|
elif is_ubuntu; then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y python-mysqldb python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt-dev
|
apt-get install -y python-mysqldb python-pip python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt-dev
|
||||||
easy_install pip
|
|
||||||
else
|
else
|
||||||
echo "Unsupported Distro: $DISTRO" 1>&2
|
echo "Unsupported Distro: $DISTRO" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user