Update installation instructions in README.rst

Former-commit-id: 6902d0356342312a28a33cd8e10784f87e10bc50
This commit is contained in:
Marek Nečada 2019-02-25 09:18:37 +02:00
parent e6d0936842
commit 99b20b7d2e
1 changed files with 17 additions and 13 deletions

View File

@ -5,12 +5,14 @@ TODO description
Installation
============
The package depends on numpy, scipy, cython and customized version of py_gmm.
The first three can be obtained by pip, the last one can be obtained from github:
The package depends on numpy, scipy, cython and GSL (>= 2.0).
The first three can be obtained by pip. If you have a recent enough OS,
you can get GSL easily from the repositories; on Debian and derivatives,
just run `apt-get install libgsl-dev` under root. Alternatively,
you can `get the source
<https://www.gnu.org/software/gsl/>`_ get the source and compile it yourself.
git clone --branch standalone_mie https://github.com/texnokrates/py_gmm.git
After all dependencies are installed, install qpms to your local python library using
After all dependencies are installed, install qpms to your local python library using::
python3 setup.py install --user
@ -19,10 +21,12 @@ Easiest installation ever
=========================
(Just skip those you have already installed.)
::
pip3 install --user numpy
pip3 install --user scipy
pip3 install --user cython
pip3 install --user git+https://github.com/moble/quaternion.git
pip3 install --user git+https://github.com/moble/spherical_functions.git
pip3 install --user git+https://github.com/texnokrates/py_gmm.git@standalone_mie
python3 setup.py install --user