From 29880badc69dd1e4aef1f50001e601bf3e3e303c Mon Sep 17 00:00:00 2001 From: Robert Sare Date: Sat, 2 Mar 2019 11:38:42 -0800 Subject: [PATCH] Update install instructions --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index ec697e5..01cdfda 100644 --- a/README.md +++ b/README.md @@ -25,19 +25,13 @@ It was designed with two main goals: `scarplet` can be installed using `conda` or `pip`. It is developed for Python 3.4+ and currently works on Linux and Mac OS X. -```bash -conda install scarplet -c conda-forge -``` - -Or, to manually install the latest version from github: +It is best to [use a virtual environment](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) for the install because the GDAL dependency can be tricky: ```bash -git clone https://github.com/rmsare/scarplet -cd scarplet -conda install --file=requirements.txt -c conda-forge -python setup.py develop +conda create -n scarplet_env +conda activate scarplet_env +conda install scarplet -c conda-forge ``` - The main dependencies are numpy, scipy, numexpr, pyfftw (which requires LibFFTW3) and rasterio/GDAL.