port-to-scikit-build-core
Migrate a Python package with a compiled (C/C++/CUDA) extension from a bespoke setuptools / setup.py build to scikit-build-core + CMake (PEP 517/518/621). Covers the pyproject.toml build backend, CMakeLists install rules, dynamic versioning, editable installs, wheels/CI, and optional abi3 via nanobind. Use when asked to modernize a package's build, adopt scikit-build-core or CMake, get rid of setup.py, or produce standards-based wheels for an extension module.
Pinned to revision 0c51c24122b3, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/port-to-scikit-build-core/SKILL.md
- skills/port-to-scikit-build-core/AGENTS.md
- skills/port-to-scikit-build-core/README.md
- skills/port-to-scikit-build-core/reference/benefits.md
- skills/port-to-scikit-build-core/reference/examples.md
Every link opens the file at its source, pinned to the revision this page describes.