This "should" be just a matter of deleting setup.py and adding a pyproject.toml that looks similar to
[build-system]
requires = [
"scikit-build-core>=0.10",
...
]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
cmake.build-type = "Release"
minimum-version = "build-system.requires"
wheel.license-files = []
cmake.args = ["-DHACKDIR=..."]
but it also might require slight adjustments to the cmake files (e.g. for HACKDIR).
This "should" be just a matter of deleting
setup.pyand adding apyproject.tomlthat looks similar tobut it also might require slight adjustments to the cmake files (e.g. for HACKDIR).