From c0967ad622c1a15ae3faeb924d0b4ca04012d75f Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Tue, 28 Jan 2020 22:26:34 +0000 Subject: [PATCH] Fix docker copy --- cibuildwheel/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index b9b16e55..3f5e0487 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -173,7 +173,7 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef docker_image, '/bin/bash']) run_docker(['cp', os.path.abspath(project_dir) + '/.', container_name + ':/project']) if dependency_constraints: - run_docker(['cp', os.path.abspath(dependency_constraints) + '/.', container_name + ':/constraints.txt']) + run_docker(['cp', os.path.abspath(dependency_constraints), container_name + ':/constraints.txt']) run_docker(['start', '-i', '-a', container_name], stdin_str=bash_script) run_docker(['cp', container_name + ':/output/.', os.path.abspath(output_dir)]) except subprocess.CalledProcessError: