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 6099020 commit 08467a1Copy full SHA for 08467a1
setup.py
@@ -463,8 +463,11 @@ def build_extension(self, ext: _BaseExtension) -> None:
463
dst_file: Path = ext.dst_path(self)
464
465
# Ensure that the destination directory exists.
466
- self.mkpath(os.fspath(dst_file.parent))
467
-
+ if not dst_file.parent.exists():
+ print(f"DEBUG 1: dest parent directory {dst_file.parent}, exists? {dst_file.parent.exists()}")
468
+ self.mkpath(os.fspath(dst_file.parent))
469
+ print(f"DEBUG 2: dest parent directory {dst_file.parent}, exists? {dst_file.parent.exists()}")
470
+
471
# Copy the file.
472
self.copy_file(os.fspath(src_file), os.fspath(dst_file))
473
0 commit comments