Commit bbc1a235 by Max Rothman

OPS-1637: Upgrade pip, setuptools, virtualenv

parent 3e010c2d
......@@ -117,9 +117,9 @@ common_debian_pkgs:
- python2.7-dev
common_pip_pkgs:
- pip==7.1.2
- setuptools==18.3.2
- virtualenv==13.1.2
- pip==8.1.2
- setuptools==24.0.3
- virtualenv==15.0.2
- virtualenvwrapper==4.7.1
common_web_user: www-data
......
......@@ -36,9 +36,9 @@ fi
#
# Bootstrapping constants
#
VIRTUAL_ENV_VERSION="13.1.2"
PIP_VERSION="7.1.2"
SETUPTOOLS_VERSION="18.3.2"
VIRTUAL_ENV_VERSION="15.0.2"
PIP_VERSION="8.1.2"
SETUPTOOLS_VERSION="24.0.3"
VIRTUAL_ENV="/tmp/bootstrap"
PYTHON_BIN="${VIRTUAL_ENV}/bin"
ANSIBLE_DIR="/tmp/ansible"
......
......@@ -32,9 +32,9 @@ sudo apt-get upgrade -y
## Install system pre-requisites
##
sudo apt-get install -y build-essential software-properties-common curl git-core libxml2-dev libxslt1-dev python-pip libmysqlclient-dev python-apt python-dev libxmlsec1-dev libfreetype6-dev swig gcc-4.8 g++-4.8
sudo pip install --upgrade pip==7.1.2
sudo pip install --upgrade setuptools==18.3.2
sudo -H pip install --upgrade virtualenv==13.1.2
sudo pip install --upgrade pip==8.1.2
sudo pip install --upgrade setuptools==24.0.3
sudo -H pip install --upgrade virtualenv==15.0.2
##
## Update alternatives so that gcc/g++ 4.8 is the default compiler
......
......@@ -305,7 +305,7 @@ fi
/usr/bin/apt-get install -y python-httplib2 --force-yes
# upgrade setuptools early to avoid no distributin errors
pip install --upgrade setuptools==18.3.2
pip install --upgrade setuptools==24.0.3
rm -rf $base_dir
mkdir -p $base_dir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment