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: