From 51b021e08a90d9d235cd5c14852c50b7bec6b9a8 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sun, 18 Jul 2021 17:19:41 +0200 Subject: [PATCH] Add an example of PATH customisation on Windows On Windows you often find directories containing spaces. The relation between quotes and escaping is not intuitive, see #765. --- docs/options.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/options.md b/docs/options.md index f3624660..c4dc99a4 100644 --- a/docs/options.md +++ b/docs/options.md @@ -499,6 +499,10 @@ Platform-specific environment variables are also available:
# Append a directory to the PATH variable (this is expanded in the build environment) CIBW_ENVIRONMENT: "PATH=$PATH:/usr/local/bin" + # Prepend a directory containing spaces on Windows. + CIBW_ENVIRONMENT_WINDOWS: >- + PATH="C:\\Program Files\\PostgreSQL\\13\\bin;$PATH" + # Set BUILD_TIME to the output of the `date` command CIBW_ENVIRONMENT: "BUILD_TIME=$(date)"