use method pip_install over sudo pip install so proxy settings work

Change-Id: I2f0c69a72ef73c317b707d99c65cab0fb590d158
This commit is contained in:
Aaron Rosen 2013-09-16 13:58:08 -07:00
parent 0b29d86930
commit 1e4551db44

View File

@ -34,8 +34,8 @@ FILES=$TOP_DIR/files
# ---------------
# Pre-install affected packages so we can fix the permissions
sudo pip install prettytable
sudo pip install httplib2
pip_install prettytable
pip_install httplib2
SITE_DIRS=$(python -c "import site; import os; print os.linesep.join(site.getsitepackages())")
for dir in $SITE_DIRS; do