Commit d8c3ee1c authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Replaced deprecated 'source activate' by 'conda activate.' Updated installation instructions.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent c70453a3
......@@ -51,7 +51,7 @@ test_spechomo_install:
- conda update conda
# - conda install conda-build
- conda create -y -q -c conda-forge --name spechomo_test python=3
- source activate spechomo_test
- conda activate spechomo_test
# update conda and python
# - conda update -n base -c conda-forge conda
......@@ -115,7 +115,7 @@ deploy_pypi:
- test_spechomo
script:
- source /root/miniconda3/bin/activate
- source activate ci_env
- conda activate ci_env
- pip install -U twine
- python setup.py sdist
- twine upload dist/* # requires creds as environment variables
......
......@@ -2,6 +2,12 @@
History
=======
0.8.3 (coming soon)
-------------------
* Replaced deprecated 'source activate' by 'conda activate.' Updated installation instructions.
0.8.2 (2020-10-12)
------------------
......
......@@ -5,7 +5,7 @@ Installation
Using Anaconda or Miniconda (recommended)
-----------------------------------------
Using conda_, SpecHomo is installed as follows:
Using conda_ (latest version recommended), SpecHomo is installed as follows:
1. Create virtual environment for SpecHomo (optional but recommended):
......@@ -13,7 +13,7 @@ Using conda_, SpecHomo is installed as follows:
.. code-block:: bash
$ conda create -c conda-forge --name spechomo python=3
$ source activate spechomo
$ conda activate spechomo
2. Then install spechomo itself:
......@@ -23,7 +23,7 @@ Using conda_, SpecHomo is installed as follows:
$ conda install -c conda-forge spechomo
This is the preferred method to install SpecHomo, as it will always installs the most recent stable release and
This is the preferred method to install SpecHomo, as it always installs the most recent stable release and
automatically resolves all the dependencies.
......
......@@ -7,5 +7,5 @@ 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_spechomo.yml"
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