We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c9b837 commit fa72100Copy full SHA for fa72100
cibuildwheel/windows.py
@@ -7,6 +7,7 @@
7
import sys
8
import textwrap
9
from collections.abc import Set
10
+from contextlib import suppress
11
from dataclasses import dataclass
12
from functools import lru_cache
13
from pathlib import Path
@@ -560,6 +561,9 @@ def build(options: Options, tmp_path: Path) -> None:
560
561
562
# we're all done here; move it to output (remove if already exists)
563
if compatible_wheel is None:
564
+ with suppress(FileNotFoundError):
565
+ (build_options.output_dir / repaired_wheel.name).unlink()
566
+
567
shutil.move(str(repaired_wheel), build_options.output_dir)
568
built_wheels.append(build_options.output_dir / repaired_wheel.name)
569
0 commit comments