-
-
Save bwmcadams/1453602 to your computer and use it in GitHub Desktop.
Scripts to setup Pip and Nose on new binary Python builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[bamboo@bamboo-agent1 python2]$ ls | |
nosify.sh pip_me.sh r2.4.6 r2.5.6 r2.6.7 r2.7.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PIP=r${1}/bin/pip | |
if [ -e $PIP ]; then | |
$PIP install nose | |
else | |
echo "Please specify a valid version of Python ..." | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PY=r${1}/bin/python | |
echo "Installing Pip to $PY..." | |
if [ -e $PY ]; then | |
curl http://python-distribute.org/distribute_setup.py | $PY | |
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | $PY | |
else | |
echo "Please specify a version of Python ..." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment