From cd087fb132083ffae88df0d37eec8baebd296a7c Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Mon, 13 Mar 2017 12:39:04 +0100 Subject: [PATCH] Import bob-devel.yml from bob itself (closes bob/bob#240) --- install/from-scratch.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install/from-scratch.sh b/install/from-scratch.sh index ac4cfab..10e5326 100755 --- a/install/from-scratch.sh +++ b/install/from-scratch.sh @@ -13,6 +13,7 @@ BASEDIR=$1 NAME=$2 PYTHON_VERSION=$3 CONDA=${BASEDIR}/bin/conda +YML=bob-devel.yml if [ -d ${BASEDIR}/envs/${NAME} ]; then ${CONDA} remove -n ${NAME} --all --yes @@ -22,7 +23,10 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then fi fi +echo "[>>] Downloading latest bob-devel.yml environment..." +curl -o ${YML} https://gitlab.idiap.ch/bob/bob/raw/master/doc/${YML} + echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION} with bob dependencies..." -${CONDA} env create -n ${NAME} --file=bob-devel.yml python=${PYTHON_VERSION} +${CONDA} env create --name=${NAME} --file=${YML} python=${PYTHON_VERSION} echo "[>>] Bye!" exit 0 -- GitLab