Wheel: customizing packages
Auto-discovery: src/<name>, python/<name>, <name>. Override with
wheel.packages — each entry is one top-level package, subpackages come
along:
[tool.scikit-build]
wheel.packages = ["src/pkg_a", "src/pkg_b"]
Table form remaps source → wheel path; [] leaves everything to CMake:
[tool.scikit-build.wheel.packages]
"mypackage/subpackage" = "python/src/subpackage"
wheel.exclude patterns match paths in the wheel — they apply to CMake
output too.