-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
This is an initial idea for the overrides system.
The overrides array would requires the select key set:
[[tool.scikit-build.overides]]
select = {python-version=">=3.8", implementation-name="cpython"}The keys would be based on PEP 508:
python-version: a SpecifierSet that matches the Python version (note: PEP 508 splits this intopython_full_version, maybe we should too, and make them mutually exclusive)implementation-nameimplementation-versionplatform-systemplatform-machine
The other values (besides python-version) would support regular expressions.
All other values in that array entry are then used over the original values if the select matches. Table/array merging should be considered, but might not make it in the first version. At least one value is required.
Metadata
Metadata
Assignees
Labels
No labels