forked from sncosmo/sncosmo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
99 lines (90 loc) · 2.39 KB
/
setup.cfg
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[metadata]
name = sncosmo
author = The SNCosmo Developers
author_email = kylebarbary@gmail.com
license = BSD 3-Clause License
license_file = LICENSE.rst
url = https://sncosmo.readthedocs.org
description = Package for supernova cosmology based on astropy
long_description = file: README.md
long_description_content_type = text/markdown
keywords = supernova, cosmology
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python :: 3
Topic :: Scientific/Engineering :: Astronomy
Topic :: Scientific/Engineering :: Physics
[options]
# We set packages to find: to automatically find all sub-packages
packages =
sncosmo
sncosmo.tests
zip_safe = False
install_requires =
astropy>=5.0
extinction>=0.4.6; python_version<'3.9'
extinction>=0.4.6.post1; python_version>='3.9'
looseversion>=1.0.0
numpy>=1.20.3
pyyaml>=6.0.1
scipy>=1.10.0
python_requires = >=3.8
[options.extras_require]
oldestdeps = # Oldest versions supported, used for tests.
astropy==5.0
extinction==0.4.6
looseversion==1.0.0
numpy==1.20.3
pyyaml==6.0.1
scipy==1.10.0
test = # Required to run the test suite.
pytest
pytest-astropy
cython
test_coverage = # Required for coverage tests.
coveralls
coverage
pytest-cov
all = # Used by some parts of sncosmo, but not required.
iminuit
matplotlib
emcee>=3
nestle
docs = # Required to build the docs.
cython
matplotlib
sphinx
sphinx_gallery
sphinx_rtd_theme
pillow
iminuit
emcee>=3
numpydoc
[options.package_data]
* = data/*, data/*/*, data/*/*/*, data/*/*/*/*, data/*/*/*/*/*, data/*/*/*/*/*/*
sncosmo = sncosmo.cfg
[coverage:run]
source = sncosmo
omit =
sncosmo/tests/*
sncosmo/conftest.py
sncosmo/__init__.py
sncosmo/version.py
sncosmo/cython_version.py
sncosmo/_deprecated.py
[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about packages we have installed
except ImportError
# Don't complain if tests don't hit assertions
raise AssertionError
raise NotImplementedError
# Don't complain about script hooks
def main\(.*\):
# Ignore branches that don't pertain to this version of Python
pragma: py{ignore_python_version}