From 75806a1377624e44eb9c9a7218cb9f9e48077d04 Mon Sep 17 00:00:00 2001 From: Stephen Mardson McQuay Date: Mon, 21 Mar 2011 11:55:52 -0600 Subject: [PATCH] minor: made things more legible, and resolved a tiny bug --- install.ubuntu.sh | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/install.ubuntu.sh b/install.ubuntu.sh index c64393c..94c414a 100644 --- a/install.ubuntu.sh +++ b/install.ubuntu.sh @@ -1,23 +1,37 @@ #!/bin/bash -sudo aptitude install python-dev python-setuptools libblas-dev liblapack-dev gfortran build-essential qhull-bin libqhull-dev +PACKAGES="\ +build-essential \ +gfortran \ +python-dev \ +python-setuptools \ +libblas-dev \ +liblapack-dev \ +libqhull-dev \ +qhull-bin \ +" + +echo "we'll ask for your password to install a few things:" +echo "like theses packages: $PACKAGES" + +sudo aptitude install -y $PACKAGES sudo easy_install pip sudo pip install mercurial - sudo pip install virtualenv sudo pip install virtualenvwrapper mkdir ~/.virtualenvs echo 'source $(which virtualenvwrapper.sh)' >> .bashrc +source $(which virtualenvwrapper.sh) mkvirtualenv --no-site-packages research +workon research pip install numpy pip install scipy - mkdir ~/src cd ~/src && hg clone https://mcquay.me/hg/research cd ~/src/research && python setup.py develop