-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
executable file
·42 lines (38 loc) · 1.05 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
#!/usr/bin/env python3
import os
from distutils.core import setup
import six
install_requires = [
'astropy<=2.0.11',
# 'timba', not available on pypi
'matplotlib',
'python_casacore',
'numpy<=1.16',
'scipy',
'future'
] if six.PY2 else [
'astropy>=3.0',
# 'timba', not available on pypi
'matplotlib',
'python_casacore',
'numpy>=1.16',
'scipy',
'future'
]
def readme():
""" Return README.rst contents """
with open('README.md') as f:
return f.read()
setup(name='astro-pyxis',
version='1.7.6',
python_requires='>=3.0.0',
description='Python Extensions for astronomical Interferometry Scripting',
author='Oleg Smirnov',
author_email='Oleg Smirnov <[email protected]>',
url='https://github.com/ska-sa/pyxis',
packages=['Pyxis', 'Pyxides', 'Pyxides.im', 'Pyxides.utils'],
install_requires=install_requires,
zip_safe=True,
include_package_data=True,
scripts=['Pyxis/bin/' + i for i in os.listdir('Pyxis/bin')],
)