Skip to content

Commit 20b396b

Browse files
committed
DOC: State the CMake 3.26 floor for Python wrapping
Development.SABIModule requires CMake >= 3.26. Builds without ITK_WRAP_PYTHON keep the older floor.
1 parent 1390742 commit 20b396b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Documentation/docs/contributing/python_packaging.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ This section describes how to build Python packages for the main ITK libraries u
1717
## Prerequisites
1818

1919
Building ITK Python wheels requires the following:
20-
- CMake >= 3.16
20+
- CMake >= 3.26, for the `FindPython` `Development.SABIModule` component
2121
- Git
2222
- C++ Compiler (see [scikit-build platform specific requirements](https://scikit-build.readthedocs.io/en/latest/generators.html))
2323
- Python >= 3.11
2424

25+
Wrapped modules are always built as stable-ABI (`abi3`) extensions, so a single
26+
set of wheels serves every supported Python version. Builds that do not set
27+
`ITK_WRAP_PYTHON=ON` are unaffected and still accept older CMake.
28+
2529
## Automated Platform Scripts
2630

2731
The following sections outline how to use the ITKPythonPackage project to build wheels on Linux, macOS, and Windows. Each script will fetch tagged ITK sources, build ITK with Python wrappings, and package binaries into the Python wheel archive format for distribution.

0 commit comments

Comments
 (0)