From 035ea941c2a7916b46de9cf6b751b661b04cc5d2 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 20 Jul 2017 23:27:40 +0800 Subject: README.rst: Add a "development" installation section Also cleanup a bit on requirements and installation guide. Signed-off-by: Aaron LI --- README.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 7c658dd..e4bf1c1 100644 --- a/README.rst +++ b/README.rst @@ -59,7 +59,7 @@ Requirements * `CFITSIO `_ * `HEALPix `_: only the C++ library required by `healpy `_. -* `LLVM `_: = 3.8 +* `LLVM `_: (required by `llvmlite `_ which is a dependency of `Numba `_) @@ -70,7 +70,7 @@ Installation $ git clone https://github.com/liweitianux/fg21sim -2. Install the above system requirements: CFITSIO, HEALPix, and LLVM. +2. Install the above required software and libraries. 3. Install the required third-party Python packages. And it is recommended to use the `virtual environment`_:: @@ -92,6 +92,16 @@ Installation $ fg21sim-webui --help +Development +----------- +To ease development and tests, you may want to install this package in +an **editable state**, instead of using the *virtual environment*:: + + $ cd fg21sim/ + $ pip3 install --user -r requirements.txt + $ pip3 install --editable . + + Documentations -------------- To get started, read the `User Guide`_. -- cgit v1.2.2