smbinterp/tools/install.ubuntu.sh
Stephen Mardson McQuay 8650a8a541 moved install script
--HG--
rename : install.ubuntu.sh => tools/install.ubuntu.sh
2011-03-21 15:15:01 -06:00

39 lines
754 B
Bash

#!/bin/bash
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
cd ~/src/research && python test/all.py