Skip to content

Conversation

@blowekamp
Copy link
Member

Refactor the binary directory Python packaging scripts to use scikit-build-core and use the CMake installation script for the Python component to create the Python package.

Replace computing version in python.
The SKBUILD conditional block is removed, and the Python component is
always defined.
Have scikit-built-core use the Python installation target to build
wheels and install SimpleITK Python from the build directory. This
removed the setup.py and setuptools usage.

Add scikit-build-Packaging.cmake file.

Add separate CMake file to build Python testing environment
The configured pyproject.toml has hard coded build options based on
the CMake confogiration of the SimpleITK project.
@blowekamp blowekamp requested review from dave3d and zivy December 18, 2025 18:22
@blowekamp blowekamp merged commit c0eb666 into SimpleITK:main Dec 18, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant