Skip to content

Commit

Permalink
[wheels] fix creating temporary directory for dependencies
Browse files Browse the repository at this point in the history
cibuildwheel seems to have changed the temporary directory on Windows,
so C:\cibw is not guaranteed to exist.
  • Loading branch information
jlaine committed Apr 4, 2022
1 parent 6a07768 commit 0180d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fetch-vendor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 0180d53

Please sign in to comment.