-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.cfg
107 lines (99 loc) · 1.99 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
100
101
102
103
104
105
106
107
[metadata]
name = cogsworth
url = https://github.com/TomWagg/cogsworth
author = Tom Wagg
author_email = tomjwagg@gmail.com
license = MIT
license_files = LICENSE
description = A framework for performing self-consistent population synthesis and orbital integration
long_description = file: README.md
long_description_content_type = text/markdown
# NOTE: any changes in the requirements must also be reflected in
# - environment.yml
# - install.rst
[options]
python_requires = >=3.10
packages = find:
install_requires =
numpy >= 1.23
numba >= 0.58
pip
matplotlib >= 3.7
astropy >= 5.0
scipy >= 1.8
pandas >= 2.1
gala >= 1.9.1
cosmic-popsynth >= 3.4.16
[options.package_data]
* = *.npy, *.npz
[options.extras_require]
all =
%(observables)s
%(actions)s
%(test)s
%(docs)s
extras =
%(observables)s
%(actions)s
%(hydro)s
%(lisa)s
observables =
nose
tables
isochrones
dustmaps
healpy
gaiaunlimited >= 0.2.0
actions =
agama
lisa =
legwork >= 0.4.6
hydro =
pynbody >= 2.0.0
test =
%(observables)s
%(lisa)s
%(hydro)s
pytest
flake8
coverage
pytest-xdist
nbmake
pytest-cov
docs =
%(observables)s
%(hydro)s
sphinx<7.2
matplotlib<3.9
nbsphinx>=0.8.6
numpydoc
pydata-sphinx-theme
sphinx_automodapi
sphinxcontrib.bibtex
IPython
ipykernel
sphinx_copybutton
sphinx-gallery>=0.13.0
sphinx-design>=0.4.1
sphinx_togglebutton
[tool:pytest]
addopts = --cov-report xml:cov.xml --cov cogsworth -n='auto'
testpaths = "cogsworth"
[coverage:run]
omit =
cogsworth/tests/*
cogsworth/__init__.py
setup.py
concurrency = multiprocessing
[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 worry about showing plots
plt.show()
[flake8]
max-line-length = 110
exclude = **__init__.py
extend-ignore = E402