From b9cf392bd1ec2f595db163d6848fe92cf124366c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Fri, 1 Jul 2016 11:20:47 +0300 Subject: [PATCH] Dependencies into setup file, installation instructions. Former-commit-id: cbea5c3ef950530b2871b881b5017fb81e5cf254 --- README.rst | 12 ++++++++++++ setup.py | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index a167c02..cee538a 100644 --- a/README.rst +++ b/README.rst @@ -2,3 +2,15 @@ Quantum photonic multiple scattering ==================================== 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: + +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 + +python3 setup.py install --user + diff --git a/setup.py b/setup.py index b37d49a..10b6f78 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,8 @@ setup(name='qpms', version = "0.1", packages=['qpms'], # setup_requires=['setuptools_cython'], - install_requires=['cython>=0.21'], + install_requires=['cython>=0.21', 'py_gmm'], + dependency_links=['https://github.com/texnokrates/py_gmm'], ext_modules=[qpms_c], cmdclass = {'build_ext': build_ext}, )