scikit-build-core
scikit-build-core copied to clipboard
Extract metadata from cmake
Currently this project considers the Python build to be the main controller, but many projects, especially when the python api is just a wrapper, have the cmake as the main build workflow. Therefore we should add more functionalities to have the main information in cmake. This can be achieved by using dynamic
in the pyproject.toml
and have the builder scikit-build-core
handle the logic of how to import them. Maybe this implementation is a good starting point to implement this.
Some metadata that can be set from the project()
cmake function:
- version
- name
- description
- url