Browse code

use method pip_install over sudo pip install so proxy settings work

Change-Id: I2f0c69a72ef73c317b707d99c65cab0fb590d158

Aaron Rosen authored on 2013/09/17 05:58:08
Showing 1 changed files
... ...
@@ -34,8 +34,8 @@ FILES=$TOP_DIR/files
34 34
 # ---------------
35 35
 
36 36
 # Pre-install affected packages so we can fix the permissions
37
-sudo pip install prettytable
38
-sudo pip install httplib2
37
+pip_install prettytable
38
+pip_install httplib2
39 39
 
40 40
 SITE_DIRS=$(python -c "import site; import os; print os.linesep.join(site.getsitepackages())")
41 41
 for dir in $SITE_DIRS; do