-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
26 lines (25 loc) · 1.3 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
sudo apt-get install python-numpy python-scipy python-matplotlib libsndfile1-dev lame libjpeg8-dev postgresql-server-dev-all libxml2-dev libxslt1-dev
sudo apt-get install build-essential libyaml-dev libfftw3-dev libavcodec-dev libavformat-dev python-dev libsamplerate0-dev libtag1-dev python-numpy-dev
virtualenv env
. env/bin/activate
pip install --upgrade setuptools
pip install --upgrade pip
pip install python-dateutil
pip install --allow-external eyed3 --allow-unverified eyed3 eyed3
ln -s /usr/lib/python2.7/dist-packages/numpy env/lib/python2.7/site-packages
ln -s /usr/share/pyshared/numpy-1.6.1.egg-info env/lib/python2.7/site-packages
ln -s /usr/lib/python2.7/dist-packages/scipy* env/lib/python2.7/site-packages
ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so* env/lib
ln -s /usr/lib/x86_64-linux-gnu/libz.so* env/lib
ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so* env/lib
ln -s /usr/lib/pymodules/python2.7/matplotlib* env/lib/python2.7/site-packages/
ln -s /usr/lib/pymodules/python2.7/pylab* env/lib/python2.7/site-packages/
pip install --allow-external eyeD3 --allow-unverified eyeD3 eyeD3
pip install -r requirements
#pushd ..
#git clone [email protected]:CompMusic/essentia.git
#pushd essentia
#git checkout -t origin/deploy
#./waf configure --mode=release --with-python --prefix=/srv/dunya/env
#./waf -j4
#./waf install