Skip to content

Commit f07383c

Browse files
committed
DOC: Add note on scikit-build-core migration
How and why to migrate.
1 parent 1257b25 commit f07383c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,19 @@ Python packages for Linux, macOS, and Windows. These packages can be
111111
and [uploaded to the Python Package Index
112112
(PyPI)](https://itkpythonpackage.readthedocs.io/en/master/Build_ITK_Module_Python_packages.html#upload-the-packages-to-pypi).
113113

114+
pyproject.toml
115+
--------------
116+
117+
ITK 5.4 added support for [scikit-build-core](https://scikit-build-core.readthedocs.io/en/latest/),
118+
an update to scikit-build classic that supports [PEP
119+
517](https://peps.python.org/pep-0517/) and other modern Python packaging
120+
standards configured in the declarative *pyproject.toml* file. While the
121+
*setup.py* file is still supported in ITK 5.4, migration to *pyproject.toml*
122+
is encouraged. One important advantage is the generation of Stable ABI wheels
123+
for Python 3.11+; these packages work with Python 3.11, 3.12,
124+
3.13, 3.14, etc. To migrate to scikit-build-core, use the pyproject.toml
125+
template in this repository and remove the *setup.py* file.
126+
114127
ITKv4 Branch
115128
------------
116129

0 commit comments

Comments
 (0)