Commit 749678059710b5f3c9c456a275fa057d0846a19f
1 parent
7c7109dc
Exists in
master
and in
13 other branches
Installed pip and virtualenvwrapper using apt
Showing
1 changed file
with
1 additions
and
12 deletions
Show diff stats
vagrant/ubuntu.sh
@@ -5,20 +5,9 @@ set -ex | @@ -5,20 +5,9 @@ set -ex | ||
5 | ### Install dependencies | 5 | ### Install dependencies |
6 | apt-get update | 6 | apt-get update |
7 | 7 | ||
8 | -apt-get install curl git unzip mercurial build-essential libev-dev gettext libxml2-dev libxslt1-dev libssl-dev libffi-dev libjpeg-dev zlib1g-dev libfreetype6-dev libpq-dev python-dev postgresql -y | 8 | +apt-get install curl git unzip mercurial build-essential libev-dev gettext libxml2-dev libxslt1-dev libssl-dev libffi-dev libjpeg-dev zlib1g-dev libfreetype6-dev libpq-dev python-dev postgresql virtualenvwrapper python-pip -y |
9 | 9 | ||
10 | 10 | ||
11 | -### Install Virtualenvwrapper | ||
12 | -which pip2.7 > /dev/null || | ||
13 | - curl -s -L https://raw.githubusercontent.com/pypa/pip/1.5.6/contrib/get-pip.py | | ||
14 | - python2.7 | ||
15 | - | ||
16 | -if [ ! -L /etc/bash_completion.d/virtualenvwrapper.sh ] | ||
17 | -then | ||
18 | - pip install virtualenvwrapper | ||
19 | - ln -s /usr/local/bin/virtualenvwrapper.sh /etc/bash_completion.d/virtualenvwrapper.sh | ||
20 | -fi | ||
21 | - | ||
22 | ### Create conf directory | 11 | ### Create conf directory |
23 | mkdir -p /etc/colab | 12 | mkdir -p /etc/colab |
24 | chown vagrant:vagrant /etc/colab | 13 | chown vagrant:vagrant /etc/colab |