-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_venv.sh
executable file
·42 lines (33 loc) · 1.29 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
deactivate
module purge all
export VENV=myvenv
module load unstable python
python -m venv $VENV
module purge all
source $VENV/bin/activate
mkdir softwares
cd softwares
../$VENV/bin/pip install --upgrade setuptools pip
../$VENV/bin/pip install setuptools==57
../$VENV/bin/pip install wheel
../$VENV/bin/pip install --ignore-installed --no-deps luigi
../$VENV/bin/pip install -i https://bbpteam.epfl.ch/repository/devpi/simple/ bluepy[all]
../$VENV/bin/pip install -i https://bbpteam.epfl.ch/repository/devpi/simple entity-management
../$VENV/bin/pip install -i https://bbpteam.epfl.ch/repository/devpi/simple bbp-workflow
../$VENV/bin/pip install -i https://bbpteam.epfl.ch/repository/devpi/simple bbp-workflow-cli
../$VENV/bin/pip install -i https://bbpteam.epfl.ch/repository/devpi/simple icselector
../$VENV/bin/pip install -i https://bbpteam.epfl.ch/repository/devpi/simple currentscape
../$VENV/bin/pip install nexusforge
git clone https://bbpgitlab.epfl.ch/cells/bluepyemodel.git
../$VENV/bin/pip install -e ./bluepyemodel[cma,luigi,nexus]
cd ..
deactivate
module purge all
export VENV=myvenv_cli
module load unstable python
python -m venv $VENV
module purge all
source $VENV/bin/activate
$VENV/bin/pip install -i https://bbpteam.epfl.ch/repository/devpi/simple bbp-workflow-cli
deactivate
module purge all