-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
executable file
·74 lines (69 loc) · 2.66 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env python
################################################################################
# Copyright (c) 2011,2013,2016-2023, National Research Foundation (SARAO)
#
# Licensed under the BSD 3-Clause License (the "License"); you may not use
# this file except in compliance with the License. You may obtain a copy
# of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################
import os.path
from setuptools import find_packages, setup
here = os.path.dirname(__file__)
readme = open(os.path.join(here, 'README.rst')).read()
news = open(os.path.join(here, 'NEWS.rst')).read()
long_description = readme + '\n\n' + news
setup(name='katdal',
description='Karoo Array Telescope data access library for interacting '
'with data sets in the MeerKAT Visibility Format (MVF)',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Ludwig Schwardt',
author_email='[email protected]',
packages=find_packages(),
scripts=[
'scripts/mvf_copy.py',
'scripts/mvf_download.py',
'scripts/mvftoms.py',
],
url='https://github.com/ska-sa/katdal',
license='Modified BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Astronomy'],
platforms=['OS Independent'],
keywords='meerkat ska',
python_requires='>=3.6',
setup_requires=['katversion'],
use_katversion=True,
install_requires=[
'numpy >= 1.12.0',
'katpoint >= 0.9, < 1',
'h5py >= 2.3',
'numba',
'katsdptelstate[rdb] >= 0.10',
'dask[array] >= 2.7.0',
'requests >= 2.18.0',
'pyjwt >= 2',
'cityhash >= 0.2.2',
'packaging',
],
extras_require={
'ms': ['python-casacore >= 2.2.1'],
's3': [],
's3credentials': ['botocore']
},
tests_require=['cryptography', 'pytest'])