From c68be58e7845b6918726877735f842897f3b4d19 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 6 Jul 2020 08:55:36 -0400 Subject: [PATCH] fix: Try simple quoting --- cibuildwheel/windows.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 7a694797..e7dab1c4 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -172,7 +172,8 @@ def pep_518_cp35_workaround(package_dir: Path, env: Dict[str, str]) -> None: else [] ) if requirements: - shell(['pip', 'install'] + requirements, env=env) + escaped_requirements = [f'"{s}"' for s in requirements] + shell(['pip', 'install'] + escaped_requirements, env=env) def build(options: BuildOptions) -> None: