From 8afef342830d34f12f4380dc1f748922c6bc0131 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Sun, 19 Jun 2022 07:15:36 +0300 Subject: [PATCH] Clear up that BEFORE_ALL runs outside of Python env --- docs/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/options.md b/docs/options.md index f72b388a..d3b4c107 100644 --- a/docs/options.md +++ b/docs/options.md @@ -635,7 +635,7 @@ To specify more than one environment variable, separate the variable names by sp ### `CIBW_BEFORE_ALL` {: #before-all} > Execute a shell command on the build system before any wheels are built. -Shell command to prepare a common part of the project (e.g. build or install libraries which does not depend on the specific version of Python). +Shell command that runs before creating Python environment, to build or install parts that do not depend on the specific version of Python. This option is very useful for the Linux build, where builds take place in isolated Docker containers managed by cibuildwheel. This command will run inside the container before the wheel builds start. Note, if you're building both `x86_64` and `i686` wheels (the default), your build uses two different Docker images. In that case, this command will execute twice - once per build container.