From a116c2e486b3d0fa0c0fb60b553c90dbd2ba3cfc Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sun, 9 May 2021 10:43:21 +0100 Subject: [PATCH] Fix paths --- cibuildwheel/macos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index 86fc4529..89180505 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -243,10 +243,10 @@ def setup_python( if pip_is_installed: # if it's there, remove that version of pip. - call(["python", "-m", "pip", "uninstall", "--yes", "pip"], env=env, cwd="C:\\cibw") + call(["python", "-m", "pip", "uninstall", "--yes", "pip"], env=env, cwd="/tmp") # Then reinstall. '--default-pip' ensures that it's installed as 'pip' - call(["python", "-m", "ensurepip", "--default-pip"], env=env, cwd="C:\\cibw") + call(["python", "-m", "ensurepip", "--default-pip"], env=env, cwd="/tmp") # ensure we have the version that matches our constraints call(