mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-08-25 06:31:43 +02:00
added License and install_requires in setup.py + cleaning
This commit is contained in:
parent
5b7030fca1
commit
f3dbfc7be2
34
src/setup.py
34
src/setup.py
@ -8,20 +8,22 @@ from distutils.core import setup, Extension
|
|||||||
|
|
||||||
|
|
||||||
pytrexio_module = Extension('_pytrexio',
|
pytrexio_module = Extension('_pytrexio',
|
||||||
sources=['trexio.c', 'trexio_hdf5.c', 'trexio_text.c', 'pytrexio_wrap.c'],
|
sources = ['trexio.c', 'trexio_hdf5.c', 'trexio_text.c', 'pytrexio_wrap.c'],
|
||||||
include_dirs=['/usr/include/hdf5/serial'],
|
include_dirs = ['/usr/include/hdf5/serial'],
|
||||||
#runtime_library_dirs=['/usr/lib/x86_64-linux-gnu/hdf5/serial'],
|
#runtime_library_dirs=['/usr/lib/x86_64-linux-gnu/hdf5/serial'],
|
||||||
libraries=['hdf5', 'hdf5_hl'],
|
libraries = ['hdf5', 'hdf5_hl'],
|
||||||
extra_compile_args=['-Wno-discarded-qualifiers'],
|
extra_compile_args = ['-Wno-discarded-qualifiers'],
|
||||||
extra_link_args=['-L/usr/lib/x86_64-linux-gnu/hdf5/serial']
|
extra_link_args = ['-L/usr/lib/x86_64-linux-gnu/hdf5/serial']
|
||||||
)
|
)
|
||||||
|
|
||||||
setup (name = 'pytrexio',
|
setup(name = 'pytrexio',
|
||||||
version = '0.1',
|
version = '0.1',
|
||||||
author = "TREX-CoE",
|
author = "TREX-CoE",
|
||||||
description = """Python API of the TREXIO library""",
|
description = """Python API of the TREXIO library""",
|
||||||
ext_modules = [pytrexio_module],
|
ext_modules = [pytrexio_module],
|
||||||
py_modules = ["pytrexio"],
|
py_modules = ["pytrexio"],
|
||||||
url='https://github.com/TREX-CoE/trexio',
|
url = 'https://github.com/TREX-CoE/trexio',
|
||||||
packages=['distutils', 'distutils.command'],
|
license = 'BSD',
|
||||||
)
|
packages = ['distutils', 'distutils.command'],
|
||||||
|
install_requires = ['h5py']
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user