Skip to content

Commit b55033a

Browse files
committed
Introduce editable mode build-dir
Signed-off-by: Cristian Le <[email protected]>
1 parent 3f371ff commit b55033a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/reference/configs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ print(mk_skbuild_docs())
249249

250250
```{eval-rst}
251251
.. confval:: editable.mode
252-
:type: ``"redirect" | "inplace"``
252+
:type: ``"redirect" | "inplace" | "build-dir"``
253253
:default: "redirect"
254254
255255
Select the editable mode to use. Can be "redirect" (default) or "inplace".

src/scikit_build_core/resources/scikit-build.schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@
260260
"mode": {
261261
"enum": [
262262
"redirect",
263-
"inplace"
263+
"inplace",
264+
"build-dir"
264265
],
265266
"default": "redirect",
266267
"description": "Select the editable mode to use. Can be \"redirect\" (default) or \"inplace\"."

src/scikit_build_core/settings/skbuild_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class BackportSettings:
327327

328328
@dataclasses.dataclass
329329
class EditableSettings:
330-
mode: Literal["redirect", "inplace"] = "redirect"
330+
mode: Literal["redirect", "inplace", "build-dir"] = "redirect"
331331
"""
332332
Select the editable mode to use. Can be "redirect" (default) or "inplace".
333333
"""

0 commit comments

Comments
 (0)