-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
104 lines (93 loc) · 1.98 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
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
[project]
name = "landmarker"
dynamic = ["version"]
description = "A PyTorch-based toolkit for (anatomical) landmark detection in images."
authors = [
{name = "Jef Jonkers", email = "jef.jonkers@ugent.be"},
]
dependencies = [
"opencv-python-headless>=4.8.1.78",
"monai>=1.3.0",
"torch>=2.0.0",
"torchvision>=0.15.0",
"tqdm>=4.66.1",
"numpy>=1.24.4",
"pandas>=2.0.3",
"opendatasets>=0.1.22",
"rarfile>=4.1",
"scipy>=1.9.3",
"pydicom>=2.4.3",
"matplotlib>=3.7.4",
"seaborn>=0.13.0",
]
requires-python = ">=3.10,<3.12"
readme = "README.md"
license = {text = "MIT"}
[tool.pdm.version]
source = "file"
path = "src/landmarker/__init__.py"
[tool.pdm.scripts]
test = "pytest"
tox = "tox"
type = "mypy src/landmarker"
lint = "flake8 src/landmarker"
doc = "sphinx-build docs docs/_build/html"
docauto = "sphinx-autobuild docs docs/_build/html --ignore _collections"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.build]
excludes = ["./**/.git"]
package-dir = "src"
includes = ["src/landmarker"]
source-includes = ["tests", "CHANGELOG.md", "LICENSE", "README.md", "tox.ini"]
editable-backend = "path"
[tool.pdm.dev-dependencies]
test = [
"pytest",
"pdm[pytest]",
"pytest-cov",
]
lint = [
"flake8",
"black",
]
doc = [
"sphinx>=7.1.2",
"sphinx-autobuild",
"sphinxext-opengraph",
"sphinx-copybutton",
"myst-parser",
"sphinx_design",
"furo",
"myst-nb",
"sphinx-togglebutton",
"sphinx-collections",
"GitPython"
]
type = [
"mypy>=1.7.1",
]
tox = [
"tox",
]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::UserWarning"
]
testpaths = [
"tests/",
]
addopts = ["--cov=src/landmarker", "--cov-report=term-missing", "--cov-report=xml"]
[tool.coverage.run]
omit = ["*/datasets/*"]
[tool.mypy]
exclude = "tests/"
[tool.black]
line-length = 100
include = "src/landmarker"
[tool.isort]
profile = "black"
atomic = true
filter_files = true