From 4f91893a5c71bac21eeda70d2abba5d22712e896 Mon Sep 17 00:00:00 2001 From: Kristi Date: Mon, 23 Apr 2012 11:52:38 -0700 Subject: [PATCH] Use wget for Distribute and PIP for proper err messaging --- pyHost.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyHost.sh b/pyHost.sh index fdc917f..6b55a0f 100755 --- a/pyHost.sh +++ b/pyHost.sh @@ -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