Skip to content

Commit

Permalink
Use wget for Distribute and PIP for proper err messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
kristi committed Apr 23, 2012
1 parent 5702aef commit 4f91893
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyHost.sh
Expand Up @@ -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
Expand Down

0 comments on commit 4f91893

Please sign in to comment.