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

View File

@ -1,23 +1,37 @@
#!/bin/bash #!/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 easy_install pip
sudo pip install mercurial sudo pip install mercurial
sudo pip install virtualenv sudo pip install virtualenv
sudo pip install virtualenvwrapper sudo pip install virtualenvwrapper
mkdir ~/.virtualenvs mkdir ~/.virtualenvs
echo 'source $(which virtualenvwrapper.sh)' >> .bashrc echo 'source $(which virtualenvwrapper.sh)' >> .bashrc
source $(which virtualenvwrapper.sh)
mkvirtualenv --no-site-packages research mkvirtualenv --no-site-packages research
workon research
pip install numpy pip install numpy
pip install scipy pip install scipy
mkdir ~/src mkdir ~/src
cd ~/src && hg clone https://mcquay.me/hg/research cd ~/src && hg clone https://mcquay.me/hg/research
cd ~/src/research && python setup.py develop cd ~/src/research && python setup.py develop