Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Updated script to allow for Python version selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Fonnesbeck committed Mar 25, 2015
1 parent 9dd3e5b commit fb1cb70
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion install_superpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,20 @@ fi
brew tap homebrew/science

# Python tools and utilities
brew install python
echo 'Would you like to install Python 2.7 or Python 3.4? (2/3)'
read pyversion
if [ "$pyversion" == "2" ]; then

brew install python

elif [ "$pyversion" == "3" ]; then

brew install python3

else
echo "Invalid selection. Quitting."
exit 0
fi
brew install gcc
pip install -U nose
pip install -U six
Expand Down

0 comments on commit fb1cb70

Please sign in to comment.