From 7b4ea856c177a0bf18e21159ca37d1ce97679217 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Thu, 28 Sep 2017 18:06:42 +0200
Subject: [PATCH] add_pip_as_python_dependency False

---
 gitlab/build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gitlab/build.sh b/gitlab/build.sh
index 8ae5502..daf968b 100755
--- a/gitlab/build.sh
+++ b/gitlab/build.sh
@@ -3,9 +3,11 @@
 
 source $(dirname ${0})/functions.sh
 
-run_cmd ${CONDA_FOLDER}/bin/conda install -n root --yes --quiet conda=4 conda-build=3
+run_cmd ${CONDA_FOLDER}/bin/conda install --override-channels -c defaults -n root --yes --quiet conda=4 conda-build=3
 run_cmd ${CONDA_FOLDER}/bin/conda config --set always_yes yes --set changeps1 no
 run_cmd ${CONDA_FOLDER}/bin/conda config --set show_channel_urls true
+run_cmd ${CONDA_FOLDER}/bin/conda config --set add_pip_as_python_dependency False
+run_cmd ${CONDA_FOLDER}/bin/conda config --set anaconda_upload no
 run_cmd ${CONDA_FOLDER}/bin/conda clean --lock
 run_cmd cp _ci/conda_build_config.yaml conda/
 run_cmd ${CONDA_FOLDER}/bin/conda info
-- 
GitLab