Showing
1 changed file
with
22 additions
and
0 deletions
script_irsom.sh
0 → 100644
1 | +#! /bin/bash | ||
2 | + | ||
3 | +## This script work with a conda installation based on python3 | ||
4 | + | ||
5 | +## Parameters | ||
6 | +## 1: Conda environment name | ||
7 | + | ||
8 | +# This script install the python package required for IRSOM (https://forge.ibisc.univ-evry.fr/lplaton/IRSOM) | ||
9 | + | ||
10 | +conda create --name $1 | ||
11 | +source activate $1 | ||
12 | + | ||
13 | +conda install docopt matplotlib numpy pandas tensorflow | ||
14 | +pip install plotnine | ||
15 | +source deactivate | ||
16 | + | ||
17 | +if [ -d "IRSOM" ]; then | ||
18 | + rm -rf "IRSOM" | ||
19 | +fi | ||
20 | +git clone https://forge.ibisc.univ-evry.fr/lplaton/IRSOM.git | ||
21 | + | ||
22 | +echo "IRSOM directory installed in : "$PWD"/IRSOM/" |
-
Please register or login to post a comment