Commit e8f7330c authored by Daniel Scheffler's avatar Daniel Scheffler

Replaced deprecated 'source activate' with 'conda activate'.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 9addbb15
......@@ -50,7 +50,7 @@ test_py_tools_ds_install:
script:
- source /root/miniconda3/bin/activate
- conda create -y -q -c conda-forge --name py_tools_ds_testinstall python=3
- source activate py_tools_ds_testinstall
- conda activate py_tools_ds_testinstall
# update conda and python
- conda update -n base -c conda-forge conda
......
......@@ -61,7 +61,7 @@ Using conda_, the recommended approach is:
# create virtual environment for py_tools_ds, this is optional
conda create -y -q -c conda-forge --name py_tools_ds python=3
source activate py_tools_ds
conda activate py_tools_ds
conda install -c conda-forge numpy gdal 'pyproj>=2.1.0' shapely scikit-image pandas
Then install py_tools_ds using the pip installer:
......@@ -76,7 +76,7 @@ Using conda_, the recommended approach is:
# create virtual environment for py_tools_ds, this is optional
conda create -y -q --name py_tools_ds python=3
source activate py_tools_ds
conda activate py_tools_ds
conda install -c danschef -c conda-forge -c defaults py_tools_ds
......
......@@ -10,6 +10,6 @@ COPY *.yml /root/
RUN /bin/bash -i -c "\
source /root/miniconda3/bin/activate ; \
conda update -n base -c conda-forge conda;\
source activate ci_env; \
conda activate ci_env; \
conda env update -n ci_env -f /root/environment_py_tools_ds.yml ; \
conda install -c conda-forge conda-build conda-build-all anaconda-client"
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