From fa8f6dcf6916db5108ec2579b51b4d6f8ccb3327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Mon, 4 Apr 2022 09:05:00 +0200 Subject: [PATCH] [wheels] fix creating temporary directory for dependencies cibuildwheel seems to have changed the temporary directory on Windows, so C:\cibw is not guaranteed to exist. --- scripts/fetch-vendor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fetch-vendor.py b/scripts/fetch-vendor.py index fcfa8d3c8..3ea3a0c6d 100644 --- a/scripts/fetch-vendor.py +++ b/scripts/fetch-vendor.py @@ -43,7 +43,7 @@ def get_platform(): logging.info("Creating directory %s" % args.destination_dir) if os.path.exists(args.destination_dir): shutil.rmtree(args.destination_dir) -os.mkdir(args.destination_dir) +os.makedirs(args.destination_dir) for url_template in config["urls"]: tarball_url = url_template.replace("{platform}", get_platform())