-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (39 loc) · 1.08 KB
/
setup.py
File metadata and controls
42 lines (39 loc) · 1.08 KB
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
from setuptools import setup, find_packages
PACKAGENAME = "CHECLabPy"
DESCRIPTION = "Python scripts for reduction and analysis of CHEC lab data"
AUTHOR = "Jason J Watson"
AUTHOR_EMAIL = "jason.watson@physics.ox.ac.uk"
version = {}
with open("CHECLabPy/version.py") as fp:
exec(fp.read(), version)
setup(
name=PACKAGENAME,
packages=find_packages(),
version=version['__version__'],
description=DESCRIPTION,
license='BSD3',
install_requires=[
'astropy',
'scipy',
'numpy',
'matplotlib',
'tqdm',
'pandas>=0.21.0',
'iminuit',
'numba',
'PyYAML',
'packaging',
],
setup_requires=['pytest-runner', ],
tests_require=['pytest', ],
author=AUTHOR,
author_email=AUTHOR_EMAIL,
package_data={
'': ['data/*', 'calib/data/*'],
},
entry_points={'console_scripts': [
'extract_dl1 = CHECLabPy.scripts.extract_dl1:main',
'generate_dl1_config = CHECLabPy.scripts.generate_dl1_config:main',
'extract_spe = CHECLabPy.scripts.extract_spe:main',
]}
)