Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Commit

Permalink
Simplify pip installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Jellick committed Mar 9, 2016
1 parent 379b378 commit 7c23529
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,9 @@ cd $(dirname $0)/..
apt-get update
apt-get install -y arptables python-pip python-dev rsync libssl-dev libffi-dev uuid-runtime

# Fix bug on overlay w/ Docker
pip uninstall -y py pip virtualenv >/dev/null >/dev/null 2>&1 || true
pip install --upgrade pip tox

# Switch to pip installed pip...
/usr/local/bin/pip install psutil
/usr/local/bin/pip install subprocess32
/usr/local/bin/pip install ndg-httpsclient

curl https://bootstrap.pypa.io/get-pip.py | python
pip install tox psutil subprocess32 ndg-httpsclient

if [ ! -x "$(which nsenter)" ]; then
TMP=$(mktemp -d)
Expand Down

0 comments on commit 7c23529

Please sign in to comment.