-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (49 loc) · 1.5 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
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import os
from setuptools import setup
try:
from testr.setup_helper import cmdclass
except ImportError:
cmdclass = {}
entry_points = {
"console_scripts": [
"agasc-magnitudes-report=agasc.scripts.mag_estimate_report:main",
"agasc-update-magnitudes=agasc.scripts.update_mag_supplement:main",
"agasc-update-supplement=agasc.scripts.update_supplement:main",
"agasc-supplement-tasks=agasc.scripts.supplement_tasks:main",
"agasc-supplement-diff=agasc.scripts.supplement_diff:main",
]
}
data_files = [
(
os.path.join("share", "agasc"),
[
"task_schedules/task_schedule_supplement_dispositions.cfg",
"task_schedules/task_schedule_update_supplement_rc.cfg",
],
)
]
setup(
name="agasc",
use_scm_version=True,
setup_requires=["setuptools_scm", "setuptools_scm_git_archive"],
description="AGASC catalog access",
author="Jean Connelly, Tom Aldcroft",
author_email="[email protected]",
url="http://cxc.harvard.edu/mta/ASPECT/tool_doc/agasc",
packages=[
"agasc",
"agasc.supplement",
"agasc.supplement.magnitudes",
"agasc.tests",
"agasc.scripts",
],
package_data={
"agasc.supplement.magnitudes": ["templates/*"],
"agasc.tests": ["data/*"],
},
data_files=data_files,
tests_require=["pytest"],
cmdclass=cmdclass,
entry_points=entry_points,
)