From c08bb37c5bd969de8d9a763e11a6561c3ec8a56e Mon Sep 17 00:00:00 2001 From: Paul English Date: Mon, 8 Feb 2016 20:17:31 -0700 Subject: [PATCH] Allow conda channels to be added from `conda-channels.txt` --- bin/steps/conda_compile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/steps/conda_compile b/bin/steps/conda_compile index f77bdb4..5517ed2 100755 --- a/bin/steps/conda_compile +++ b/bin/steps/conda_compile @@ -7,6 +7,10 @@ if [ ! -d /app/.heroku/miniconda ]; then conda install pip --yes | indent fi +if [ -f conda-channels.txt ]; then + puts-step "Installing conda channels" + cat conda-channels.txt | xargs -I {} conda config --add channels {} +fi if [ -f conda-requirements.txt ]; then puts-step "Installing dependencies using Conda"