-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
86 lines (79 loc) · 2.21 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
[build-system]
requires = ["setuptools >= 45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "nitransforms"
authors = [{name = "The NiPy developers", email = "nipreps@gmail.com"}]
readme = "README.md"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Image Recognition",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
description = "NiTransforms -- Neuroimaging spatial transforms in Python."
license = {text = "MIT License"}
requires-python = ">= 3.9"
dependencies = [
"numpy >= 1.21",
"scipy >= 1.8",
"nibabel >= 4.0",
"h5py >= 3.9",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/nipy/nitransforms"
Manuscript = "https://doi.org/10.31219/osf.io/8aq7b"
NiBabel = "https://github.com/nipy/nibabel/pull/656"
[project.optional-dependencies]
niftiext = ["lxml >= 4.6"]
test = [
"pytest >= 6",
"pytest-cov >= 2.11",
"pytest-env",
"pytest-xdist >= 2.5",
"coverage[toml] >= 5.2.1",
"nitransforms[niftiext]",
]
# Aliases
niftiexts = ["nitransforms[niftiext]"]
tests = ["nitransforms[test]"]
all = [
"nitransforms[test]",
]
[project.scripts]
nb-transform = "nitransforms.cli:main"
[tool.setuptools.packages.find]
include = ["nitransforms*"]
[tool.setuptools_scm]
write_to = "nitransforms/_version.py"
write_to_template = """\
\"\"\"Version file, automatically generated by setuptools_scm.\"\"\"
__version__ = "{version}"
"""
fallback_version = "0.0"
[tool.pytest.ini_options]
minversion = "6"
testpaths = ["nitransforms"]
log_cli_level = "INFO"
xfail_strict = true
norecursedirs = [".git"]
addopts = [
"-svx",
"-ra",
"--strict-config",
"--strict-markers",
"--doctest-modules",
"--cov=nitransforms",
"--cov-report=xml",
"--cov-config=pyproject.toml",
]
doctest_optionflags = "ALLOW_UNICODE NORMALIZE_WHITESPACE ELLIPSIS"
env = "PYTHONHASHSEED=0"
filterwarnings = ["ignore::DeprecationWarning"]
junit_family = "xunit2"