-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_venv.sh
executable file
·25 lines (19 loc) · 1.48 KB
/
create_venv.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
#!/bin/bash
conda create -p ./venv python=2.7 ipython=4.0.0 ipython-notebook numpy=1.9.3 scipy=0.17.0 matplotlib=1.4.3 bokeh=0.10.0 sympy=0.7.6.1 pandas=0.16.2 paramiko click=4.1 ipywidgets psutil pexpect sh cython
wget https://raw.githubusercontent.com/goerz/mplstyles/master/interactive.mplstyle -O ./venv/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc
source setenv.sh
mkdir -p ./venv/src
(cd $PREFIX/src/ && git clone [email protected]:qdyn)
(cd $PREFIX/src/ && git clone [email protected]:qdynpylib)
(cd $PREFIX/src/ && git clone [email protected]:goerz/transmon_oct)
(cd $PREFIX/src/ && git clone [email protected]:goerz/QDYNTransmonLib)
(cd $PREFIX/src/ && git clone git://github.com/goerz/clusterjob.git)
(cd $PREFIX/bin/ && ln -s ../../rewrite_dissipation.py)
(cd $PREFIX/src/qdyn && git checkout 50b2d685df2070f8ff93d299e6b374b322a10cb7 && ./configure --prefix=$PREFIX --no-hooks && make install)
(cd $PREFIX/src/qdynpylib && git checkout 1d9255d2c55dac4e39b9c25701d73935a16cc3fe && pip install -e .)
(cd $PREFIX/src/transmon_oct && git checkout 03508eb57aa9da474d018ba0a80756003104b893 && ./configure --prefix=$PREFIX && make install)
(cd $PREFIX/src/QDYNTransmonLib && git checkout master && pip install -e .)
(cd $PREFIX/src/clusterjob && git checkout cd01f3ce9b798b418fb0cfe3c45fc319ff4e90cf && pip install -e .)
pip install 'mgplottools==1.0.0'
pip install 'fortranfile==0.2.1'
pip install --no-use-wheel qutip