Skip to content
Snippets Groups Projects
Commit 8e5006d8 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

pin everything in from_scratch

parent 1a1ae499
No related branches found
No related tags found
No related merge requests found
......@@ -16,35 +16,92 @@ CONDA=${BASEDIR}/bin/conda
if [ ! -d ${BASEDIR}/envs/${NAME} ]; then
echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION}..."
${CONDA} create --yes -n ${NAME} --override-channels --channel defaults python=${PYTHON_VERSION}
if [[ "$PYTHON_VERSION" == "2.7" ]]; then
${CONDA} create --yes -n ${NAME} --override-channels --channel defaults python=2.7.12=1
fi
if [[ "$PYTHON_VERSION" == "3.4" ]]; then
${CONDA} create --yes -n ${NAME} --override-channels --channel defaults python=3.4.5=0
fi
if [[ "$PYTHON_VERSION" == "3.5" ]]; then
${CONDA} create --yes -n ${NAME} --override-channels --channel defaults python=3.5.2=0
fi
fi
# For a complete list of dependencies, please read:
# https://gitlab.idiap.ch/bob/bob/wikis/Dependencies
echo "[>>] Installing Bob dependencies on ${NAME}..."
if [[ "$PYTHON_VERSION" == "2.7" ]]; then
${CONDA} install --yes -n ${NAME} --override-channels -c defaults \
nomkl \
cmake \
pip=8.1.2=py27_0 \
coverage=4.2 \
sphinx=1.4.1=py27_0 \
sphinx_rtd_theme=0.1.9=py27_0 \
cython=0.24=py27_0 \
docopt \
ipython=4.2.0=py27_0 \
matplotlib=1.5.1=np111py27_0\
nose=1.3.7=py27_1 \
numexpr=2.6.0 \
numpy=1.11.1 \
pillow=3.2.0=py27_1 \
pkg-config \
psutil=4.3.0=py27_0 \
scikit-learn=0.17.1 \
scipy=0.17.1 \
sqlalchemy=1.0.13=py27_0
fi
if [[ "$PYTHON_VERSION" == "3.4" ]]; then
${CONDA} install --yes -n ${NAME} --override-channels -c defaults \
nomkl \
cmake \
pip=8.1.2=py34_0 \
coverage=4.2 \
sphinx=1.4.1=py34_0 \
sphinx_rtd_theme=0.1.9=py34_0 \
cython=0.24=py34_0 \
docopt \
ipython=4.2.0=py34_0 \
matplotlib=1.5.1=np111py34_0\
nose=1.3.7=py34_1 \
numexpr=2.6.0 \
numpy=1.11.1 \
pillow=3.2.0=py34_1 \
pkg-config \
psutil=4.3.0=py34_0 \
scikit-learn=0.17.1 \
scipy=0.17.1 \
sqlalchemy=1.0.13=py34_0
fi
if [[ "$PYTHON_VERSION" == "3.5" ]]; then
${CONDA} install --yes -n ${NAME} --override-channels -c defaults \
nomkl \
cmake \
pip=8.1.2=py35_0 \
coverage=4.2 \
sphinx=1.4.1=py35_0 \
sphinx_rtd_theme=0.1.9=py35_0 \
cython=0.24=py35_0 \
docopt \
ipython=4.2.0=py35_0 \
matplotlib=1.5.1=np111py35_0\
nose=1.3.7=py35_1 \
numexpr=2.6.0 \
numpy=1.11.1 \
pillow=3.2.0=py35_1 \
pkg-config \
psutil=4.3.0=py35_0 \
scikit-learn=0.17.1 \
scipy=0.17.1 \
sqlalchemy=1.0.13=py35_0
fi
${CONDA} install --yes -n ${NAME} --override-channels -c defaults \
nomkl \
cmake \
coverage=4.2 \
sphinx=1.4.1 \
sphinx_rtd_theme=0.1.9 \
cython=0.24 \
docopt \
hdf5=1.8.17 \
ipython=4.2.0 \
jpeg=8d \
libpng=1.6.22 \
libtiff=4.0.6 \
matplotlib=1.5.1 \
nose=1.3.7 \
numexpr=2.6.0 \
numpy=1.11.1 \
pillow=3.2.0 \
pkg-config \
psutil=4.3.0 \
scikit-learn=0.17.1 \
scipy=0.17.1 \
sqlalchemy=1.0.13
hdf5=1.8.17=1 \
jpeg=8d=1 \
libpng=1.6.22=0 \
libtiff=4.0.6=2
${CONDA} install --yes -n ${NAME} --override-channels -c defaults -c conda-forge \
boost=1.61.0 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment