From 976173f6e1c6bcfc1e41f05fcceeb9ad23c5de75 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 19 Jul 2021 17:13:40 +0200 Subject: [PATCH] Add example of Windows PATH manipulation in pyproject.toml too --- docs/options.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/options.md b/docs/options.md index 239a50b8..1d627c74 100644 --- a/docs/options.md +++ b/docs/options.md @@ -528,6 +528,10 @@ Platform-specific environment variables are also available:
# Append a directory to the PATH variable (this is expanded in the build environment) environment = { PATH="$PATH:/usr/local/bin" } + # Prepend a directory containing spaces on Windows. + [tool.cibuildwheel.windows] + environment = { PATH='C:\\Program Files\\PostgreSQL\\13\\bin;$PATH' } + # Set BUILD_TIME to the output of the `date` command environment = { BUILD_TIME="$(date)" }