Dependencies into setup file, installation instructions.

Former-commit-id: cbea5c3ef950530b2871b881b5017fb81e5cf254
This commit is contained in:
Marek Nečada 2016-07-01 11:20:47 +03:00
parent 377eb5509d
commit b9cf392bd1
2 changed files with 14 additions and 1 deletions

View File

@ -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

View File

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