From 2610f3220a75909565e416d3b21e39f078c94c14 Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Mon, 20 Jul 2020 01:14:33 +0200 Subject: [PATCH] Run Linux docker images with /project as cwd --- cibuildwheel/linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index e4607f0c..344b944a 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -110,8 +110,8 @@ def build(options: BuildOptions) -> None: continue try: - with DockerContainer(docker_image, simulate_32_bit=platform_tag.endswith('i686')) as docker: - docker.copy_into(Path.cwd(), Path('/project')) + with DockerContainer(docker_image, simulate_32_bit=platform_tag.endswith('i686'), cwd='/project') as docker: + docker.copy_into(Path.cwd(), PurePath('/project')) if options.before_all: env = docker.get_environment()