Dependencies into setup file, installation instructions.
Former-commit-id: cbea5c3ef950530b2871b881b5017fb81e5cf254
This commit is contained in:
parent
377eb5509d
commit
b9cf392bd1
12
README.rst
12
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
|
||||
|
||||
|
|
3
setup.py
3
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},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue