This PR adapts the scikit-build-core configuration so that it only installs the Python bindings module instead of the whole library. On my linux desktop, this reduced the wheel size from roughly 40MB down to roughly 650KB.
If we really want to also ship the project libraries with the Python package, we will probably have to go with shared libraries and appropriately manage symbol visibility to keep the shared libraries as small as possible.
Fixes #530
Checklist:
[x] The pull request only contains commits that are related to it.
[x] I have added appropriate tests and documentation.
[x] I have made sure that all CI jobs on GitHub pass.
[x] The pull request introduces no new warnings and follows the project's style guidelines.
Description
This PR adapts the scikit-build-core configuration so that it only installs the Python bindings module instead of the whole library. On my linux desktop, this reduced the wheel size from roughly 40MB down to roughly 650KB.
If we really want to also ship the project libraries with the Python package, we will probably have to go with shared libraries and appropriately manage symbol visibility to keep the shared libraries as small as possible.
Fixes #530
Checklist: