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}, )