-
Notifications
You must be signed in to change notification settings - Fork 0
/
pip.sh
executable file
·31 lines (25 loc) · 834 Bytes
/
pip.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
#!/bin/bash -e
# We use this bash script to install the Python packages used in the
# `active_work` packages with the `pip` installer.
# ```
# bash pip.sh
# ```
# Please note that this bash script is used instead of a pip requirements file
# to avoid the installation of fastkde to fail if Cython is not installed first.
# PARAMETERS
PYTHON=${PYTHON-python}
PIP=${PIP-pip}
# INSTALL
PACKAGES=( # packages to install (order matters)
# ALL PURPOSES
'matplotlib' # plotting
'seaborn' # color palettes
'numpy>=1.16' # mathematical functions and array manipulation
# SELF-CONSISTENT DENSITY ESTIMATION
'scipy' # grid interpolation
'cython' # has to be installed before fastkde
'fastkde' # kernel density estimation
)
for package in ${PACKAGES[@]}; do
$PYTHON -m $PIP install $package;
done