forked from rdarie/ISI_Analysis_Python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_ccv.sh
executable file
·62 lines (51 loc) · 1.83 KB
/
install_ccv.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
source ./load_ccv_modules.sh
GitRepoRoot="https://github.com/rdarie/"
RepoList=(\
"python-neo" \ # pip install neo[nixio,neomatlabio]
"ephyviewer" \
"elephant" \
"pyglmnet" \
"analysis-tools" \
"rcsanalysis" \
"peakutils" \
"umap" \
"kCSD-python" \
"scaleogram" \
"pywt" \
"scikit-lego"
)
echo "Please wait for conda to install the environment..."
conda env create -f environment.yml -v -v
echo "Please check if installation was successful"
read FILLER
chmod +x $HOME/anaconda/isi_analysis/bin/*
conda activate isi_analysis
cd ..
export PYTHONPATH="/users/rdarie/anaconda/isi_analysis/lib/python3.8/site-packages"
# jupyter requires the qt console, installing after the fact to ensure the proper version
conda install jupyter --freeze-installed
conda install pyqtgraph=0.10.0 --freeze-installed
conda install -c conda-forge pyerfa --freeze-installed
conda install -c conda-forge astropy --freeze-installed
pip install pyqt5==5.10.1 --target=$PYTHONPATH --upgrade
pip install neo[nixio,neomatlabio] --target=$PYTHONPATH --no-deps
pip install vg==1.6.1 --target=$PYTHONPATH --no-deps
# pip install git+https://github.com/hector-sab/ttictoc@v0.4.1 --target=$PYTHONPATH --no-deps
pip install git+https://github.com/raphaelvallat/pingouin@v0.5.3 --target=$PYTHONPATH --no-deps
pip install git+https://github.com/melizalab/libtfr --target=$PYTHONPATH --no-deps
# WIP
# MATLABROOT="/gpfs/runtime/opt/matlab/R2021a"
# PACKAGE_DIR=$(pwd)
# cd "${MATLABROOT}/extern/engines/python"
# python setup.py build --build-base="/users/rdarie/matlab_engine_temp" install
for i in ${RepoList[*]}; do
echo $GitRepoRoot$i".git"
git clone $GitRepoRoot$i".git"
cd $i
# git checkout tags/ndav0.3
python setup.py develop --install-dir=$PYTHONPATH --no-deps
cd ..
done
cd ISI_Analysis_Python
python setup.py develop --install-dir=$PYTHONPATH --no-deps