forked from cta-observatory/ctapipe_io_mchdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·51 lines (47 loc) · 2.21 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
from setuptools import setup, find_packages
from os import path
# read the contents of your README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
entry_points = {}
entry_points['console_scripts'] = ['mchdf5_simtel2r0 = ctapipe_io_mchdf5.converter.mchdf5_simtel2r0:main',
'mchdf5_tailcut_dilation_dl0v1 = ctapipe_io_mchdf5.converter.mchdf5_tailcut_dilation_dl0v1:main',
'mchdf5_tailcut_dilation_dl0v2 = ctapipe_io_mchdf5.converter.mchdf5_tailcut_dilation_dl0v2:main',
'test_mchdf5v2minselection = ctapipe_io_mchdf5.programs.mchdf5_min_selection:main',
'test_mchdf5v2sliceselection = ctapipe_io_mchdf5.programs.mchdf5_slice_selection:main',
'test_mchdf5v2extractsignaltensor = ctapipe_io_mchdf5.programs.mchdf5_extract_signal_tensor:main',
'test_mchdf5v2transpose = ctapipe_io_mchdf5.programs.mchdf5_transpose:main',
'test_mchdf5v2meansigmasortpixelslice = ctapipe_io_mchdf5.programs.mchdf5_mean_sigma_sort:main',
'test_mchdf5v2meansigmasortslicepixel = ctapipe_io_mchdf5.programs.mchdf5_mean_sigma_sort_slice_pixel:main',
'test_mchdf5v2rangesort = ctapipe_io_mchdf5.programs.mchdf5_range_sort:main',
'test_mchdf5v2sigmameansort = ctapipe_io_mchdf5.programs.mchdf5_sigma_mean_sort:main',
'test_mchdf5v2multiplesort = ctapipe_io_mchdf5.programs.mchdf5_multiple_sort:main',
'test_mchdf5v2storebypixelorslice = ctapipe_io_mchdf5.programs.mchdf5_store_by_pixel_or_slice:main',
'test_mchdf5v2injtabsort = ctapipe_io_mchdf5.programs.mchdf5_injtab_sort:main'
]
setup(
name='ctapipe_io_mchdf5',
packages=find_packages(),
version='0.3.0-dev',
description='ctapipe plugin for reading Monte-Carlo files (contains the same informations as Simtel files)',
long_description=long_description,
long_description_content_type='text/markdown',
entry_points = entry_points,
install_requires=[
'numpy>=1.14.0',
'tables>=3.4.4',
'ctapipe',
'pytest-cov'
],
setup_requires=['pytest_runner'],
package_data={
'ctapipe_io_mchdf5': [
'tests/resources/*'
],
},
tests_require=['pytest'],
author='Pierre Aubert',
author_email='pierre.aubert@lapp.in2p3.fr',
license='Cecil-C',
)