Permalink
Browse files

Use wget for Distribute and PIP for proper err messaging

  • Loading branch information...
kristi committed Apr 23, 2012
1 parent 5702aef commit 4f91893a5c71bac21eeda70d2abba5d22712e896
Showing with 5 additions and 3 deletions.
  1. +5 −3 pyHost.sh
View
@@ -445,12 +445,14 @@ function ph_pip {
cd "$pH_DL"
# Install Distribute first
- # instructions from
# http://www.pip-installer.org/en/latest/installing.html
- curl --silent http://python-distribute.org/distribute_setup.py | sed 's/log\.warn/log.debug/g'| python >/dev/null
+ wget -nv http://python-distribute.org/distribute_setup.py >/dev/null
+ sed -i 's/log\.warn/log.debug/g' distribute_setup.py
+ "$pH_install/bin/python" distribute_setup.py >/dev/null
# Install PIP
- curl --silent https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python >/dev/null
+ wget -nv https://raw.github.com/pypa/pip/master/contrib/get-pip.py >/dev/null
+ "$pH_install/bin/python" get-pip.py >/dev/null
}
# Mercurial

0 comments on commit 4f91893

Please sign in to comment.