1
0
Bifurcation 0
smbinterp/tools/install.ubuntu.sh

39 lignes
754 B
Bash
Brut Lien permanent Vue normale Historique

2011-03-21 10:22:51 -07:00
#!/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
2011-03-21 10:22:51 -07:00
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)
2011-03-21 10:22:51 -07:00
mkvirtualenv --no-site-packages research
workon research
2011-03-21 10:22:51 -07:00
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