-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
58 lines (54 loc) · 1.95 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
from setuptools import setup, Extension
pyhessio_module = Extension(
'pyhessio.pyhessioc',
sources=['pyhessio/src/pyhessio.c',
'hessioxxx/src/atmprof.c',
'hessioxxx/src/current.c',
'hessioxxx/src/dhsort.c',
'hessioxxx/src/eventio.c',
'hessioxxx/src/eventio_registry.c',
'hessioxxx/src/fileopen.c',
'hessioxxx/src/histogram.c',
'hessioxxx/src/hconfig.c',
'hessioxxx/src/moments.c',
'hessioxxx/src/io_histogram.c',
'hessioxxx/src/io_history.c',
'hessioxxx/src/io_simtel.c',
'hessioxxx/src/io_trgmask.c',
'hessioxxx/src/straux.c',
'hessioxxx/src/warning.c',
'hessioxxx/src/io_hess.c' ],
include_dirs = ['hessioxxx/include', '.'],
define_macros=[('CTA', None), ('CTA_MAX_SC', None)]
)
NAME = 'pyhessio'
VERSION = '2.1.1'
AUTHOR = 'cta developers'
AUTHOR_EMAIL = '[email protected]'
URL = 'https://github.com/cta-observatory/pyhessio'
DESCRIPTION = 'CTA Python wrapper for hessio event format that is used in' \
' output of simtel_array ..'
LICENSE = 'BSD3'
setup(
name=NAME,
packages=['pyhessio'],
version=VERSION,
description=DESCRIPTION,
install_requires=['numpy'],
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license=LICENSE,
url=URL,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: C',
'Programming Language :: Cython',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 3 - Alpha',
],
ext_modules=[pyhessio_module],
)