BOUT-dev
BOUT-dev copied to clipboard
Use `scikit-build-core` for Python API
https://scikit-build-core.readthedocs.io
This runs CMake for us and integrates with pyproject.toml, so installing the Python API could just be pip install .
which would run CMake for us.
We do support pip install .
already.
If you want to switch to scikit-build-core I would be supportive of dropping our custom build backend, but I do not see enough advantage for switching. Our backend does allow us to build source and binary wheels, including semi-automatic version detection, including local versions as well as pre-release version to upload to pypi ...
Oh, I forgot, we also use that to create the release tar.gz including all the bundled libraries we ship. In case we switch to scikit-build-core, we still need to maintain that code or switch to a different solution ...