added an ubuntu installer

This commit is contained in:
Stephen McQuay 2011-03-21 11:22:51 -06:00
parent b83dd04e14
commit d63595a6ae

24
install.ubuntu.sh Normal file
View File

@ -0,0 +1,24 @@
#!/bin/bash
sudo aptitude install python-dev python-setuptools libblas-dev liblapack-dev gfortran build-essential qhull-bin libqhull-dev
sudo easy_install pip
sudo pip install mercurial
sudo pip install virtualenv
sudo pip install virtualenvwrapper
mkdir ~/.virtualenvs
echo 'source $(which virtualenvwrapper.sh)' >> .bashrc
mkvirtualenv --no-site-packages 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
cd ~/src/research && python test/all.py