diff --git a/conda/condarc_idiap.txt b/conda/condarc_idiap.txt new file mode 100644 index 0000000000000000000000000000000000000000..460b35f22aa2adfa984f2aec8dfc52ad652905e6 --- /dev/null +++ b/conda/condarc_idiap.txt @@ -0,0 +1,7 @@ +allow_other_channels : true +show_channel_urls: True + +channels: + - file://idiap/group/torch5spro/conda_idiap + - defaults + - conda-forge diff --git a/conda/create_new_env.sh b/conda/create_new_env.sh new file mode 100644 index 0000000000000000000000000000000000000000..3f1a9d5a1e84e3f41c750a9d1525022a3902b5a7 --- /dev/null +++ b/conda/create_new_env.sh @@ -0,0 +1,44 @@ +#!/bin/bash +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 -p /path/to/bob-2.2.0-py27_0 2.7 + +conda create --yes $1 $2 --channel defaults --override-channels python=$3 anaconda +source activate $2 +conda install --yes --no-update-deps bob$4 caffe tensorflow ipdb docopt sphinx_rtd_theme +pip install bob.db.arface \ + bob.db.atvskeystroke \ + bob.db.avspoof \ + bob.db.banca \ + bob.db.biosecure \ + bob.db.biosecurid.face \ + bob.db.caspeal \ + bob.db.frgc \ + bob.db.gbu \ + bob.db.kboc16 \ + bob.db.lfw \ + bob.db.livdet2013 \ + bob.db.msu_mfsd_mod \ + bob.db.mobio \ + bob.db.multipie \ + bob.db.replay \ + bob.db.scface \ + bob.db.utfvp \ + bob.db.voxforge \ + bob.db.xm2vts \ + bob.db.youtube \ + bob.bio.base \ + bob.bio.gmm \ + bob.bio.spear \ + bob.bio.face \ + bob.bio.video \ + gridtk \ + coveralls + +echo "You can now activate your environment like this:" +echo "source activate $2"