-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (33 loc) · 1.17 KB
/
Copy pathsetup.py
File metadata and controls
37 lines (33 loc) · 1.17 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
from setuptools import setup, find_packages
from pathlib import Path
## read __version__
with open(Path(__file__).parent.absolute().joinpath('vtspy/version.py')) as f:
exec(f.read())
setup(name='vtspy',
version=__version__,
description="VERITAS analysis tool",
packages=find_packages(),
install_requires=['astropy',
'numpy',
'matplotlib>=3.5.2',
'gammapy',
'uproot',
'html2text',
'astroquery',
],
extras_require={'tests': ['pytest', 'pytest-ordering'],
'examples': ['ipywidgets', 'ipympl', 'nodejs']
},
package_data={
'vtspy': ['refdata/*.fit', 'refdata/*.dat']
},
include_package_data=True,
author='Donggeun Tak',
author_email='donggeun.tak@gmail.com',
url='https://vtspy.readthedocs.io/en/latest/',
long_description="",
use_scm_version={
"write_to": Path(__file__).parent.joinpath("vtspy/version.py"),
"write_to_template": "__version__ = '{version}'",
},
)