-
Notifications
You must be signed in to change notification settings - Fork 105
/
setup.cfg
154 lines (135 loc) · 3.8 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[metadata]
name = odl
version = file: odl/VERSION
description = Operator Discretization Library
long_description = file: README.md
long_description_content_type = text/markdown
author = Jonas Adler, Holger Kohr, and the ODL Contributors
author_email = [email protected]
license = MPL-2.0
license_file = LICENSE
url = https://github.com/odlgroup/odl
download_url = https://github.com/odlgroup/odl/archive/master.zip
platforms = any
keywords = research, development, mathematics, prototyping, imaging, tomography
# See https://pypi.org/classifiers/
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: Science/Research
Intended Audience :: Education
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Mathematics
Topic :: Scientific/Engineering :: Artificial Intelligence
Topic :: Scientific/Engineering :: Physics
Topic :: Scientific/Engineering :: Medical Science Apps.
Topic :: Software Development
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Operating System :: OS Independent
[options]
packages = find:
install_requires =
setuptools >=65.6
future >=0.16
packaging >=17.0
numpy >=1.19, <1.27
scipy >=1.1
matplotlib-base >=3.4
python_requires = >=3.7
tests_require =
pytest >=5.4.0 ; python_version >= "3"
coverage >=4.0
coveralls
include_package_data = True
[options.packages.find]
exclude =
doc
examples
[options.package_data]
tests = odl/test, odl/pytest.ini
[options.extras_require]
testing =
pytest >=3.1, <5.0 ; python_version <= "2.7"
pytest >=5.4.0 ; python_version >= "3"
coverage >=4.0
coveralls
all =
pytest >=3.1, <5.0 ; python_version <= "2.7"
pytest >=5.4.0 ; python_version >= "3"
coverage >=4.0
coveralls
matplotlib
pyfftw
pywavelets >=1.0.1
scikit-image
[options.entry_points]
pytest11 = odl_plugins=odl.util.pytest_config
[bdist_wheel]
universal = 1
[tool:pytest]
testpaths = odl
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS
addopts = --doctest-modules --strict-markers
xfail_strict=true
[tool:isort]
# Options: https://github.com/timothycrosley/isort#configuring-isort
line_length = 79
multi_line_output = 4
[tool:pycodestyle]
ignore = E402, E741, W503, W504
max-line-length = 79
statistics = True
exclude =
.git
__init__.py
[tool:flake8]
# Options: http://flake8.pycqa.org/en/latest/user/configuration.html
# Error codes: http://flake8.pycqa.org/en/latest/user/error-codes.html
max-line-length = 79
exclude =
.git
__pycache__
[coverage:run]
branch = False
include =
odl/*
omit =
*/__init__.py
odl/test/*
odl/diagnostics/*
odl/space/entry_points.py
odl/util/graphics.py
odl/util/npy_compat.py
odl/util/pytest_config.py
odl/util/testutils.py
# Omit until we add ASTRA to our CI pipelines
odl/tomo/operators/ray_trafo.py
odl/tomo/backends/*
[coverage:report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
assert False
raise AssertionError
raise NotImplementedError
return NotImplemented
# Skip imports and __all__
import *
__all__
# Don't complain if non-runnable code isn't run:
if 0:
if False:
if __name__ == '__main__':
ignore_errors = True
[coverage:html]
directory = htmlcov