From 45313705732fb6f0c72074f910c951117edb1f0c Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 26 Sep 2022 17:26:16 +0100 Subject: [PATCH] Rename variable to match one added to setuptools --- cibuildwheel/windows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index ede27bb5..95faa569 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -137,8 +137,8 @@ def setup_setuptools_cross_compile( env: dict[str, str], ) -> None: distutils_cfg = tmp / "extra-setup.cfg" - env["DISTUTILS_EXTRA_CONFIG"] = str(distutils_cfg) - log.notice(f"Setting DISTUTILS_EXTRA_CONFIG={distutils_cfg} for cross-compilation") + env["DIST_EXTRA_CONFIG"] = str(distutils_cfg) + log.notice(f"Setting DIST_EXTRA_CONFIG={distutils_cfg} for cross-compilation") # Ensure our additional import libraries are made available, and explicitly # set the platform name