-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkchimeenv.sh
executable file
·28 lines (23 loc) · 1.15 KB
/
mkchimeenv.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
#!/bin/bash
path=$1
venv_name=${2:-"(pipeline")}
venv_path=${3:-"${path}/venv"}
code_path=${4:-"${path}/code"}
requirements="\
-e git+ssh://[email protected]/radiocosmology/caput.git#egg=caput \
-e git+ssh://[email protected]/chime-experiment/chimedb.git#egg=chimedb \
-e git+ssh://[email protected]/chime-experiment/chimedb_di.git#egg=chimedb-data-index \
-e git+ssh://[email protected]/chime-experiment/chimedb_dataflag.git#egg=chimedb-dataflag \
-e git+ssh://[email protected]/chime-experiment/chimedb_dataset.git#egg=chimedb-dataset \
-e git+ssh://[email protected]/chime-experiment/ch_util.git#egg=ch_util \
-e git+ssh://[email protected]/radiocosmology/cora.git#egg=cora \
-e git+ssh://[email protected]/radiocosmology/driftscan.git#egg=driftscan \
-e git+ssh://[email protected]/radiocosmology/draco.git#egg=draco \
-e git+ssh://[email protected]/chime-experiment/ch_pipeline.git#egg=ch_pipeline"
mkdir $path
# Create the virtual environment
virtualenv --system-site-packages --prompt=$venv_name $venv_path
source $venv_path/bin/activate
# Install the packages
mkdir $code_path
pip install --use-deprecated=legacy-resolver --src $code_path $requirements