-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (47 loc) · 1.6 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
# -*- mode: python; coding: utf-8 -*
# Copyright (c) 2018 rasg-affiliates
# Licensed under the 3-clause BSD License
"""Setup modules simpleDS."""
from __future__ import absolute_import, division, print_function
import io
import glob
from setuptools import setup
with io.open("README.md", "r", encoding="utf-8") as readme_file:
readme = readme_file.read()
setup_args = {
"name": "simple_delay_spectrum",
"author": "rasg-affiliates",
"url": "https://github.com/rasg-affiliates/simpleDS",
"license": "BSD",
"description": ("A Simple Delay Spectrum calculator for radio interferometers. "),
"long_description": readme,
"long_description_content_type": "text/markdown",
"package_dir": {"simpleDS": "simpleDS"},
"packages": ["simpleDS", "simpleDS.tests"],
"scripts": glob.glob("scripts/*"),
"use_scm_version": True,
"include_package_data": True,
"install_requires": [
"astropy>=5.0.4",
"numpy>=1.18",
"pyuvdata>=1.4.2",
"scipy",
"setuptools_scm",
],
"extras_require": {
"healpix": ["astropy-healpix"],
"all": ["astropy-healpix", "pytest", "pytest-cov"],
},
"tests_require": ["pytest"],
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Astronomy",
],
}
if __name__ == "__main__":
setup(**setup_args)