BOUT-dev icon indicating copy to clipboard operation
BOUT-dev copied to clipboard

Use `scikit-build-core` for Python API

Open ZedThree opened this issue 1 year ago • 2 comments

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.

ZedThree avatar Nov 17 '23 17:11 ZedThree

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 ...

dschwoerer avatar Jan 09 '24 08:01 dschwoerer

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 ...

dschwoerer avatar Jan 09 '24 09:01 dschwoerer