@@ -504,9 +504,19 @@ This option can also be set using the [command-line option](#command-line) `--pr
504
504
### ` CIBW_BUILD_FRONTEND ` {: #build-frontend}
505
505
> Set the tool to use to build, either "pip" (default for now) or "build"
506
506
507
- Choose which build backend to use. Can either be "pip", which will run
507
+ Options:
508
+
509
+ - ` pip[;args: ...] `
510
+ - ` build[;args: ...] `
511
+
512
+ Default: ` pip `
513
+
514
+ Choose which build frontend to use. Can either be "pip", which will run
508
515
` python -m pip wheel ` , or "build", which will run ` python -m build --wheel ` .
509
516
517
+ You can specify extra arguments to pass to ` pip wheel ` or ` build ` using the
518
+ optional ` args ` option.
519
+
510
520
!!! tip
511
521
Until v2.0.0, [ pip] was the only way to build wheels, and is still the
512
522
default. However, we expect that at some point in the future, cibuildwheel
@@ -526,6 +536,9 @@ Choose which build backend to use. Can either be "pip", which will run
526
536
527
537
# Ensure pip is used even if the default changes in the future
528
538
CIBW_BUILD_FRONTEND: "pip"
539
+
540
+ # supply an extra argument to 'pip wheel'
541
+ CIBW_BUILD_FRONTEND: "pip; args: --no-build-isolation"
529
542
```
530
543
531
544
!!! tab examples "pyproject.toml"
@@ -537,6 +550,9 @@ Choose which build backend to use. Can either be "pip", which will run
537
550
538
551
# Ensure pip is used even if the default changes in the future
539
552
build-frontend = "pip"
553
+
554
+ # supply an extra argument to 'pip wheel'
555
+ build-frontend = { name = "pip", args = ["--no-build-isolation"] }
540
556
```
541
557
542
558
### ` CIBW_CONFIG_SETTINGS ` {: #config-settings}
0 commit comments