Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,12 @@ Scikit-build-core has an override system, similar to cibuildwheel and mypy. You
specify a `tool.scikit-build.overrides` array with an `if` key. That if key can
take several values, based on [PEP 508][]:

- `python_version`: The two-digit Python version. Takes a specifier set.
- `sys_platform`: The value of `sys.platform`. Takes a regex.
- `platform_machine`: The value of `platform.machine()`. Takes a regex.
- `platform_node`: The value of `platform.node()`. Takes a regex.
- `implementation_name`: The value of `sys.implementation.name`. Takes a regex.
- `implementation_version`: Derived from `sys.implementation.version`, following
- `python-version`: The two-digit Python version. Takes a specifier set.
- `platform-system`: The value of `sys.platform`. Takes a regex.
- `platform-machine`: The value of `platform.machine()`. Takes a regex.
- `platform-node`: The value of `platform.node()`. Takes a regex.
- `implementation-name`: The value of `sys.implementation.name`. Takes a regex.
- `implementation-version`: Derived from `sys.implementation.version`, following
PEP 508. Takes a specifier set.

At least one must be provided. Then you can specify any collection of valid
Expand All @@ -597,7 +597,7 @@ will match top to bottom, overriding previous matches. For example:

```toml
[[tool.scikit-build.overrides]]
if.sys_platform = "darwin"
if.sys-platform = "darwin"
cmake.minimum-version = "3.18"
```

Expand Down