Merge "use method pip_install over sudo pip install so proxy settings work"
This commit is contained in:
commit
e25492e8b0
@ -34,8 +34,8 @@ FILES=$TOP_DIR/files
|
|||||||
# ---------------
|
# ---------------
|
||||||
|
|
||||||
# Pre-install affected packages so we can fix the permissions
|
# Pre-install affected packages so we can fix the permissions
|
||||||
sudo pip install prettytable
|
pip_install prettytable
|
||||||
sudo pip install httplib2
|
pip_install httplib2
|
||||||
|
|
||||||
SITE_DIRS=$(python -c "import site; import os; print os.linesep.join(site.getsitepackages())")
|
SITE_DIRS=$(python -c "import site; import os; print os.linesep.join(site.getsitepackages())")
|
||||||
for dir in $SITE_DIRS; do
|
for dir in $SITE_DIRS; do
|
||||||
|
Loading…
Reference in New Issue
Block a user