-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·54 lines (47 loc) · 1.47 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
# 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": [
"astromon-process-obs=astromon.observation:main",
"astromon-cross-match=astromon.scripts.get_cat_obs_data:main",
"astromon-web-pages=astromon.web.celmon:main",
"astromon-calc-rms=astromon.scripts.calc_astrometry_rms:main",
]
}
data_files = [
(os.path.join("share", "astromon"), ["task_schedules/task_schedule_update.cfg"])
]
setup(
name="astromon",
author="Javier Gonzalez",
description="Tools used for absolute astrometry monitoring",
author_email="javier.gonzalez@cfa.harvard.edu",
packages=[
"astromon",
"astromon.scripts",
"astromon.scripts.calalign",
"astromon.scripts.calalign.check",
"astromon.web",
],
package_data={
"astromon": ["sql/x-corr/*.sql", "sql/tables/*.sql"],
"astromon.web": ["templates/*"],
},
data_files=data_files,
license=(
"New BSD/3-clause BSD License\nCopyright (c) 2019"
" Smithsonian Astrophysical Observatory\nAll rights reserved."
),
url="https://sot.github.io/astromon",
entry_points=entry_points,
use_scm_version=True,
setup_requires=["setuptools_scm", "setuptools_scm_git_archive"],
zip_safe=False,
# tests_require=['pytest'],
cmdclass=cmdclass,
)