-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (69 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pydra-dcm2bids"
version = "0.0.4"
description = "Pydra tasks for dcm2bids"
readme = "README.md"
requires-python = ">=3.8"
license = "Apache-2.0"
keywords = ["pydra", "dicom", "bids"]
authors = [
{ name = "Ghislain Vaillant", email = "ghislain.vaillant@inria.fr" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"pydra >=0.21",
"attrs >=22.1",
]
[project.optional-dependencies]
all = ["dcm2bids >=2.1,<3"]
[project.urls]
Documentation = "https://ghisvail.github.io/pydra-dcm2bids"
Issues = "https://github.com/ghisvail/pydra-dcm2bids/issues"
Source = "https://github.com/ghisvail/pydra-dcm2bids"
[tool.hatch.build.targets.wheel]
only-include = ["src/pydra/tasks/dcm2bids"]
sources = ["src"]
[tool.hatch.envs.default]
dependencies = ["pytest"]
[tool.hatch.envs.default.scripts]
test = "pytest {args}"
[[tool.hatch.envs.default.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
[tool.hatch.envs.docs]
template = "docs"
dependencies = [
"pydata-sphinx-theme>=0.13",
"sphinx <7",
"sphinx-autobuild",
"sphinx-pyproject",
]
[tool.hatch.envs.docs.scripts]
build = "sphinx-build -M {args:html} docs docs/_build"
serve = "sphinx-autobuild docs docs/_build/html {args}"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"--doctest-modules",
"--doctest-continue-on-failure",
"--import-mode=importlib",
]
pythonpath = ["src"]
testpaths = ["src"]
[tool.ruff.lint]
ignore = ["FA", "INP001", "A001"]