Successful on mac, almost there on ubuntu

This commit is contained in:
Slater-Victoroff
2013-05-31 11:24:07 -04:00
parent 821621cd52
commit 1699d24c9a
2 changed files with 12 additions and 2 deletions

View File

@@ -1,8 +1,10 @@
ruby-rvm
curl
python-software-properties
pkg-config
curl
git
python-virtualenv
virtualenvwraper
build-essential
python-dev
gfortran

View File

@@ -380,7 +380,15 @@ export WORKON_HOME=$PYTHON_DIR
# Load in the mkvirtualenv function if needed
if [[ `type -t mkvirtualenv` != "function" ]]; then
source `which virtualenvwrapper.sh`
case `uname -s` in
Darwin)
source `which virtualenvwrapper.sh`
;;
*)
source /etc/bash_completion.d/virtualenvwrapper
;;
esac
fi
# Create edX virtualenv and link it to repo