forked from spacetelescope/crds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_data.py
44 lines (40 loc) · 1.24 KB
/
setup_data.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
#!/usr/bin/env python
import sys
import glob
from distutils.core import setup
setup_pars = {
"packages" : [
'crds',
'crds.tests',
],
"package_dir" : {
'crds' : 'crds',
'crds.tests' : 'crds/tests',
},
"package_data" : {
'crds.tests' : [
'data/*',
],
},
}
import crds # local subdirectory... ew...
setup(name="crds_test_data",
provides=["crds.tests.data",],
version=crds.__version__,
description="Calibration Reference Data System, HST/JWST reference file management (test data)",
author="Todd Miller",
author_email="jmiller@stsci.edu",
url="https://hst-crds.stsci.edu",
license="BSD",
requires=["numpy","astropy"],
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS-X, Linux',
'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
],
**setup_pars
)