|
a |
|
b/pyproject.toml |
|
|
1 |
[build-system] |
|
|
2 |
requires = ["scikit-build-core >=0.4.3", "nanobind >=1.3.2,<2.6"] |
|
|
3 |
build-backend = "scikit_build_core.build" |
|
|
4 |
|
|
|
5 |
[project] |
|
|
6 |
name = "antspyx" |
|
|
7 |
version = "0.5.5" |
|
|
8 |
description = "A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more." |
|
|
9 |
readme = "README.md" |
|
|
10 |
requires-python = ">=3.8" |
|
|
11 |
authors = [ |
|
|
12 |
{ name = "Brian B. Avants", email = "stnava@gmail.com" } |
|
|
13 |
] |
|
|
14 |
classifiers = [ |
|
|
15 |
"License :: OSI Approved :: Apache Software License", |
|
|
16 |
] |
|
|
17 |
dependencies = [ |
|
|
18 |
"pandas", |
|
|
19 |
"pyyaml", |
|
|
20 |
"numpy<=2.0.1", |
|
|
21 |
"statsmodels", |
|
|
22 |
"webcolors", |
|
|
23 |
"matplotlib", |
|
|
24 |
"Pillow", |
|
|
25 |
"requests" |
|
|
26 |
] |
|
|
27 |
|
|
|
28 |
[project.urls] |
|
|
29 |
Homepage = "https://github.com/antsx/antspy" |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
[tool.scikit-build] |
|
|
33 |
# Protect the configuration against future changes in scikit-build-core |
|
|
34 |
minimum-version = "0.4" |
|
|
35 |
|
|
|
36 |
# Setuptools-style build caching in a local directory |
|
|
37 |
build-dir = "build/{wheel_tag}" |
|
|
38 |
|
|
|
39 |
cmake.args = [] |
|
|
40 |
|
|
|
41 |
wheel.packages = ["ants"] |
|
|
42 |
|
|
|
43 |
[tool.cibuildwheel] |
|
|
44 |
# Necessary to see build output from the actual compilation |
|
|
45 |
build-verbosity = 1 |
|
|
46 |
|
|
|
47 |
# Run pytest to ensure that the package was correctly built |
|
|
48 |
test-command = "pytest {project}/tests" |
|
|
49 |
test-requires = "pytest" |
|
|
50 |
|