From b2fc33b0f47a39749958a1858a8bad5f1b55b6eb Mon Sep 17 00:00:00 2001 From: Amir Mohammadi <183.amir@gmail.com> Date: Tue, 10 Jan 2017 23:08:56 +0100 Subject: [PATCH] update create_new_env script --- conda/create_new_env.sh | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) mode change 100644 => 100755 conda/create_new_env.sh diff --git a/conda/create_new_env.sh b/conda/create_new_env.sh old mode 100644 new mode 100755 index 144b902..669f97b --- a/conda/create_new_env.sh +++ b/conda/create_new_env.sh @@ -4,13 +4,27 @@ set -xe # usage create_new_env.sh (-n env_name|-p env_folder) pyver [bobver] # This is intented to be used only with our conda installation at idiap/group/torch5spro # example create_new_env.sh -n bob-2.3.4-py27_0 2.7 -# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =2.3.4 -# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =2.3.4=py27_0 +# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =4.2.0 +# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =4.2.0 =2.3.4 +# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =4.2.0 =2.3.4=py27_0 # example create_new_env.sh -p /path/to/bob-2.2.0-py27_0 2.7 -conda create --yes $1 $2 --channel defaults --override-channels python=$3 anaconda +conda create --yes $1 $2 \ + --channel defaults \ + --channel https://www.idiap.ch/software/bob/conda \ + --override-channels \ + python=$3 \ + anaconda$4 \ + bob$5 \ + caffe \ + tensorflow \ + docopt \ + sphinx_rtd_theme \ + gcc \ + coverage + source activate $2 -conda install --yes --no-update-deps bob$4 caffe tensorflow ipdb docopt sphinx_rtd_theme gcc + pip install bob.db.arface \ bob.db.atvskeystroke \ bob.db.avspoof \ @@ -29,7 +43,6 @@ pip install bob.db.arface \ bob.db.replay \ bob.db.scface \ bob.db.utfvp \ - bob.db.voxforge \ bob.db.xm2vts \ bob.db.youtube \ bob.bio.base \ @@ -37,8 +50,9 @@ pip install bob.db.arface \ bob.bio.spear \ bob.bio.face \ bob.bio.video \ + bob.db.voxforge \ gridtk \ - coveralls + ipdb echo "You can now activate your environment like this:" echo "source activate $2" -- GitLab