minor: made things more legible, and resolved a tiny bug

This commit is contained in:
Stephen McQuay 2011-03-21 11:55:52 -06:00
parent d63595a6ae
commit 75806a1377
1 changed files with 17 additions and 3 deletions

View File

@ -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