-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (43 loc) · 1.36 KB
/
setup.py
File metadata and controls
51 lines (43 loc) · 1.36 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
48
49
50
import io
import os
import sys
from shutil import rmtree
from setuptools import find_packages, setup, Command
NAME = 'Polspectra'
DESCRIPTION = 'Reading, writing, and manipulating radio astronomy polarization (Stokes) spectra.'
URL = 'https://github.com/CIRADA-Tools/PolSpectra'
REQUIRES_PYTHON = '>=3.5.0'
VERSION = '1.1.0'
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,
py_modules=['polspectra'],
install_requires=REQUIRED,
include_package_data=True,
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.van.eck@utoronto.ca',
)