-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
114 lines (105 loc) · 2.63 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
105
106
107
108
109
110
111
112
113
114
[project]
name = "nipy"
dynamic = ['version']
license = {file = "LICENSE"}
requires-python = ">=3.8"
description = 'A python package for analysis of neuroimaging data'
readme = 'README.rst'
classifiers = ["Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"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"]
dependencies = [
'numpy>=1.22',
'scipy>=1.8',
'nibabel>=3.2',
'sympy>=1.9',
'transforms3d'
]
[[project.maintainers]]
name = 'nipy developers'
email = '[email protected]'
[project.urls]
Homepage = 'https://nipy.org/nipy'
Documentation = 'http://nipy.org/nipy/documentation.html'
Source = 'https://github.com/nipy/nipy'
Download = 'https://pypi.org/project/nipy/#files'
Tracker = 'https://github.com/nipy/nipy/issues'
[project.optional-dependencies]
developer = [
'pre-commit',
'rtoml',
]
docs = [
'sphinx>=7.0',
'numpydoc>=1.6.0',
'matplotlib',
'texext',
'ipython'
]
optional = [
'matplotlib>=3',
]
test = [
'matplotlib>=3',
'pytest>=7.2',
'pytest-cov>=4.0',
'pytest-doctestplus'
]
[build-system]
build-backend = "mesonpy"
requires = [
"meson-python>=0.13",
"ninja",
"setuptools",
"cython>=3",
# From Numpy 1.25, Numpy is always backwards compatible for any given Python
# version. See:
# https://numpy.org/doc/stable/release/1.25.0-notes.html#compiling-against-the-numpy-c-api-is-now-backwards-compatible-by-default
"numpy>=1.25; python_version > '3.8'",
# SPEC0-minimum as of Dec 23, 2023
"numpy==1.22; python_version <= '3.8'",
]
[project.scripts]
nipy_3dto4d = 'nipy.cli.img3dto4d:main'
nipy_4dto3d = 'nipy.cli.img4dto3d:main'
nipy_4d_realign = 'nipy.cli.realign4d:main'
nipy_tsdiffana = 'nipy.cli.tsdiffana:main'
nipy_diagnose = 'nipy.cli.diagnose:main'
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
'I',
'UP',
'C4',
'E713',
'PIE',
'PGH003',
'PLR0402',
'SIM101',
'SIM109',
'SIM110',
'SIM111',
'SIM118',
'SIM2'
]
[tool.spin]
package = 'nipy'
[tool.spin.commands]
Build = [
'spin.cmds.meson.build',
'spin.cmds.meson.test'
]
Environments = [
'spin.cmds.meson.ipython',
'spin.cmds.meson.python',
'spin.cmds.meson.run'
]