-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
75 lines (69 loc) · 1.61 KB
/
pyproject.toml
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
[project]
name = "parallelproj"
version = "1.10.0"
description = "Python wrappers for parallelproj projectors."
authors = [
{name = "Georg Schramm", email = "georg.schramm@kuleuven.be"},
]
dependencies = [
"numpy>=1.23",
"scipy~=1.0",
"array-api-compat~=1.7",
"matplotlib~=3.8",
]
requires-python = ">=3.9,<3.13"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
]
[project.urls]
Homepage = "https://github.com/gschramm/parallelproj"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.dev-dependencies]
test-numpy-1 = [
"pytest>=8.1.1",
"pytest-cov>=4.1.0",
"array-api-strict~=1.0",
"numpy<2",
"torch~=2.0"
]
test-numpy-2 = [
"pytest>=8.1.1",
"pytest-cov>=4.1.0",
"array-api-strict~=1.0",
"numpy>=2"
]
[tool.coverage.report]
exclude_lines = [
"def __repr__",
"if verbose:",
"if self._debug:",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
"if parallelproj.is_cuda_array",
"if is_cuda_array",
"if cuda_present:",
"def is_cuda_array",
"def empty_cuda_cache",
"if num_visible_cuda_devices > 0",
"if cupy_enabled",
"lib_parallelproj_c_fname",
"empty_cuda_cache",
"__str__",
"Array =",
"elif not cupy_enabled and torch_enabled",
"elif cupy_enabled and not torch_enabled"
]