From 91aee7e0e882a77e014d01f091e1077b85178d1a Mon Sep 17 00:00:00 2001 From: Sadie Louise Bartholomew Date: Fri, 24 Jul 2020 01:02:03 +0100 Subject: [PATCH] Fixes to installation instructions in docs and README --- README.md | 7 ++----- docs/index.rst | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ed15e53..5f053d3 100644 --- a/README.md +++ b/README.md @@ -50,11 +50,8 @@ Similarly for Python 2.7, use conda env create -f environment_py2.yml ``` -Finally install IPART using either: -``` -python setup.py develop -``` -or +Finally install IPART using: + ``` pip install -e . ``` diff --git a/docs/index.rst b/docs/index.rst index 8e4e64e..fbeb318 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -94,7 +94,7 @@ After Anaconda installation, create a working environment: This creates a Python environment named "ipartpy3" with Python version 3.7. -Then install the above listed dependencies, e.g. +Then install the dependencies listed below, e.g. :: conda install numpy @@ -129,12 +129,12 @@ Install from conda (experimental) For py2: :: - conda create -n ipartpy2 python=2.7 -c guangzhi -c conda-forge ipart + conda create -n ipartpy2 python=2.7 ipart -c guangzhi -c conda-forge For py3 (good luck with ``cdms2`` and ``cdutil``): :: - conda create -n ipartpy3 python=3.7 -c guangzhi -c conda-forge ipart + conda create -n ipartpy3 python=3.7 ipart -c guangzhi -c conda-forge Then activate the environment: ::