-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·47 lines (46 loc) · 1.74 KB
/
setup.py
File metadata and controls
executable file
·47 lines (46 loc) · 1.74 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
43
44
45
46
47
from setuptools import setup, find_packages
from dreambeam import __version__
import os
standard_includes = ['share/*.cc', 'share/simmos/*.cfg',
'share/alignment/*.txt']
telescopes_paths_f = os.path.join(os.path.join('dreambeam','configs'),
'telescope_paths.txt')
with open(telescopes_paths_f) as tp:
telescopes=[os.path.basename(l.rstrip()) for l in tp
if not l.startswith('#') or not l.strip()]
pkg_data_conf = {'dreambeam': ['configs/*.txt']}
pkg_data_scopes = {}
for scope in telescopes:
pkg_data_scopes['dreambeam.telescopes.' + scope] = standard_includes
setup(name='dreamBeam',
version=__version__,
description='Measurement equation framework for radio interferometry',
author='Tobia D. Carozzi',
author_email='tobia.carozzi@chalmers.se',
packages=find_packages(),
package_data={**pkg_data_conf, **pkg_data_scopes},
include_package_data=True,
license='ISC',
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: ISC License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Visualization'
],
install_requires=[
'numpy>=1.10',
'python-casacore',
'matplotlib>2.0',
'antpat>=0.4'
],
entry_points={
'console_scripts': [
'pointing_jones = scripts.pointing_jones:cli_main',
'FoV_jones = scripts.FoV_jones:main'
]
}
)