-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
azure_dependencies.sh
executable file
·39 lines (38 loc) · 2.16 KB
/
azure_dependencies.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
#!/bin/bash -ef
STD_ARGS="--progress-bar off --upgrade"
python -m pip install $STD_ARGS pip setuptools wheel packaging setuptools_scm
if [ "${TEST_MODE}" == "pip" ]; then
python -m pip install --only-binary="numba,llvmlite,numpy,scipy,vtk" -e .[test,full]
elif [ "${TEST_MODE}" == "pip-pre" ]; then
STD_ARGS="$STD_ARGS --pre"
python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://www.riverbankcomputing.com/pypi/simple" PyQt6 PyQt6-sip PyQt6-Qt6
echo "Numpy etc."
# See github_actions_dependencies.sh for comments
python -m pip install $STD_ARGS --only-binary "numpy" numpy
python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" "scipy>=1.12.0.dev0" scikit-learn matplotlib pandas statsmodels
echo "dipy"
python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://pypi.anaconda.org/scipy-wheels-nightly/simple" dipy
echo "h5py"
python -m pip install $STD_ARGS --only-binary ":all:" -f "https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com" h5py
echo "vtk"
python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://wheels.vtk.org" vtk
echo "nilearn and openmeeg"
python -m pip install $STD_ARGS git+https://github.com/nilearn/nilearn
python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://test.pypi.org/simple" openmeeg
echo "pyvista/pyvistaqt"
python -m pip install --progress-bar off git+https://github.com/pyvista/pyvista
python -m pip install --progress-bar off git+https://github.com/pyvista/pyvistaqt
echo "misc"
python -m pip install $STD_ARGS imageio-ffmpeg xlrd mffpy python-picard pillow traitlets pybv eeglabio
echo "nibabel with workaround"
python -m pip install --progress-bar off git+https://github.com/nipy/nibabel.git
echo "joblib"
python -m pip install --progress-bar off git+https://github.com/joblib/joblib@master
echo "EDFlib-Python"
python -m pip install $STD_ARGS git+https://gitlab.com/Teuniz/EDFlib-Python@master
./tools/check_qt_import.sh PyQt6
python -m pip install $STD_ARGS -e .[hdf5,test]
else
echo "Unknown run type ${TEST_MODE}"
exit 1
fi