-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
72 lines (67 loc) · 2.02 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
import re
version = ""
with open(os.path.join("Starfish", "__init__.py"), "r") as fh:
for line in fh.readlines():
m = re.search("__version__ = [\"'](.+)[\"']", line)
if m:
version = m.group(1)
with open("README.md", "r") as fh:
readme = fh.read()
setup(
long_description=readme,
long_description_content_type="text/markdown",
name="astrostarfish",
version=version,
description="Covariance tools for fitting stellar spectra",
python_requires=">=3.7,<3.11",
project_urls={
"repository": "https://github.com/iancze/Starfish",
"documentation": "https://starfish.rtfd.io",
},
author="Ian Czekala",
author_email="[email protected]",
maintainer="Miles Lucas <[email protected]>",
license="BSD-4-Clause",
keywords="Science Astronomy Physics Data Science",
classifiers=[
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
],
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]),
package_data={},
install_requires=[
"astropy>=4,<6",
"dataclasses>=0.6,<0.7",
"extinction==0.4.*",
"flatdict==4.*",
"h5py==3.*",
"nptyping==1.*",
"numpy>=1.16,<2",
"scikit-learn>=0.22,<2",
"scipy>=1.3.0,<2",
"toml>=0.10.1,<0.11",
"tqdm==4.*",
],
extras_require={
"docs": [
"nbsphinx==0.*,>=0.4.2",
"pandoc==2.*",
"sphinx==2.*",
"sphinx-bootstrap-theme==0.*,>=0.7.1",
"IPython",
"sphinx-autodoc-typehints==1.10.3",
],
"test": [
"coveralls==1.*,>=1.8.0",
"pytest==4.*,>=4.6.0",
"pytest-black",
"pytest-cov==2.*,>=2.7.0",
"pytest-benchmark",
],
},
)