Skip to content

Refactor to use scikit-build-core with installation script - #2484

Merged
blowekamp merged 5 commits into
SimpleITK:mainfrom
blowekamp:scikit_build_core_refactor
Dec 18, 2025
Merged

blowekamp merged 5 commits into
SimpleITK:mainfrom
blowekamp:scikit_build_core_refactor

Conversation

@blowekamp

Copy link
Copy Markdown
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
@blowekamp
blowekamp deleted the scikit_build_core_refactor branch September 9, 2026 12:55
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