-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (110 loc) · 2.83 KB
/
pyproject.toml
File metadata and controls
122 lines (110 loc) · 2.83 KB
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
115
116
117
118
119
120
121
122
[build-system]
requires = [
"setuptools",
"setuptools_scm[toml]>=6.2",
"cython",
# Wheels need to be built with NumPy 2.0 to be compatible with 2.0 and 1.x
"numpy>=2",
]
build-backend = "setuptools.build_meta"
[project]
name = "nitime"
dynamic = ["version"]
description = "Nitime: timeseries analysis for neuroscience data"
readme = "README.rst"
license = { file = "LICENSE" }
requires-python = ">=3.10"
authors = [
{ name = "Nitime developers", email = "neuroimaging@python.org" },
]
maintainers = [
{ name = "Nipy Developers", email = "neuroimaging@python.org" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
]
dependencies = [
"matplotlib>=3.9",
"numpy>=2.0",
"scipy>=1.13",
]
[project.optional-dependencies]
full = [
"networkx>=3.3",
"nibabel>=5.3",
]
[project.urls]
Download = "http://github.com/nipy/nitime/downloads"
Homepage = "http://nipy.org/nitime"
[tool.setuptools.packages.find]
include = ["nitime*"]
[tool.setuptools_scm]
write_to = "nitime/_version.py"
[dependency-groups]
test = [
"pytest>=8",
"pytest-cov>=2.11",
"pytest-doctestplus>=1.5",
"networkx>=3.0",
"nibabel>=5.0",
]
[tool.cibuildwheel]
# Disable PyPy
skip = "pp*"
# 3.11 is abi3
build = "cp310-* cp311-*"
# 64-bit builds only; 32-bit builds seem pretty niche these days, so
# don't bother unless someone asks
archs = ["native"]
before-build = "pip install abi3audit"
test-requires = [
"pytest",
"nitime[full]", # Enable all optional behavior
]
test-command = "pytest -rsx --pyargs nitime"
[tool.cibuildwheel.linux]
repair-wheel-command = [
"auditwheel repair -w {dest_dir} {wheel}",
"bash tools/audit_wheel.sh {wheel}",
]
[tool.cibuildwheel.macos]
archs = ["native"]
repair-wheel-command = [
"delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}",
"bash tools/audit_wheel.sh {wheel}",
]
[tool.cibuildwheel.windows]
before-build = "pip install delvewheel abi3audit"
repair-wheel-command = [
"delvewheel repair -w {dest_dir} {wheel}",
"bash tools/audit_wheel.sh {wheel}",
]
[tool.pytest.ini_options]
minversion = "8"
testpaths = ["nitime"]
log_cli_level = "INFO"
xfail_strict = true
norecursedirs = [".git", "dist", "build", ".tox", ".venv"]
addopts = [
"-rsx",
"--strict-config",
"--strict-markers",
"--doctest-modules",
# Config pytest-cov
"--cov=nitime",
"--cov-report=xml",
# Comment out above and uncomment below to autofix doctests
# "--doctest-only",
# "--doctest-plus-generate-diff=overwrite",
]
[tool.codespell]
skip = '.git,*.pdf,*.svg,go.sum,*.css'
check-hidden = true
ignore-regex = '\b(Ines Samengo)\b'
ignore-words-list = 'nd,ans'