install-with-conda: de-prioritize conda-forge

This commit is contained in:
Robert Jördens 2019-07-04 11:19:55 +02:00
parent 5a9bb0ecba
commit 8407c526e8
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ def run(command):
raise SystemExit("command '{}' returned non-zero exit status: {}".format(command, r)) raise SystemExit("command '{}' returned non-zero exit status: {}".format(command, r))
if ADD_CHANNELS: if ADD_CHANNELS:
run("conda config --add channels m-labs") run("conda config --prepend channels m-labs")
run("conda config --add channels conda-forge") run("conda config --append channels conda-forge")
run("conda install -y conda-build curl") run("conda install -y conda-build curl")
# A questionable conda decision is to ignore dependencies when installing .tar.bz2's directly. # A questionable conda decision is to ignore dependencies when installing .tar.bz2's directly.