Commit 29b3b408 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Set conda channel priority to 'strict' to avoid using wrong channels.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 2984e4fc
...@@ -57,12 +57,16 @@ test_py_tools_ds_install: ...@@ -57,12 +57,16 @@ test_py_tools_ds_install:
- source /root/miniconda3/bin/activate - source /root/miniconda3/bin/activate
- conda create -y -q --name py_tools_ds_testinstall python=3 - conda create -y -q --name py_tools_ds_testinstall python=3
- source activate py_tools_ds_testinstall - source activate py_tools_ds_testinstall
# avoid package incompatibilities due to usage of wrong channels
- conda config --set channel_priority strict # otherwise gdal or libgdal may be installed from defaults channel
# resolve some requirements with conda # resolve some requirements with conda
- conda install --yes -q -c conda-forge numpy gdal scikit-image pyproj rasterio shapely geopandas pyresample>=1.11.0 - conda install --yes -q -c conda-forge numpy gdal scikit-image pyproj rasterio shapely geopandas
- conda install --yes -q -c conda-forge libgdal ncurses # Fix for libgdal installed from defaults channel causing libkea.so.1.4.7: cannot open shared object file: No such file or directory
# - conda install --yes -q -c conda-forge kealib # fix for libkea.so.1.4.7: cannot open shared object file: No such file or directory
# run installer # run installer
- python setup.py install - python setup.py install
# test if its importable # test if its importable
- cd .. - cd ..
- pwd - pwd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment