-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
53 lines (45 loc) · 1.51 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
import io
import os
import sys
from shutil import rmtree
from glob import glob
from setuptools import find_packages, setup, Command
NAME = 'RMTable'
DESCRIPTION = 'Reading, writing, and manipulating RMTables (radio astronomy Faraday rotation catalogs)'
URL = 'https://github.com/CIRADA-Tools/RMTable'
REQUIRES_PYTHON = '>=3.5.0'
VERSION = '1.2.1'
REQUIRED = [
'numpy', 'astropy',
]
here = os.path.abspath(os.path.dirname(__file__))
try:
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
python_requires=REQUIRES_PYTHON,
url=URL,
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]),
include_package_data=True,
package_data={'rmtable': [os.path.basename(i) for i in glob('rmtable/*.json')]},
install_requires=REQUIRED,
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Astronomy',
],
maintainer='Cameron Van Eck',
maintainer_email='cameron.vaneck@anu.edu.au',
)