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 c0e5613 commit 9cd1f5eCopy full SHA for 9cd1f5e
setup.py
@@ -168,7 +168,11 @@ def build_with_pth_file(cmd: Command):
168
169
pth_filename = f"{NAME}.pth"
170
source_pth_file = ROOT_DIR / pth_filename
171
- target_pth_file = Path(build_lib, pth_filename)
+
172
+ build_lib = Path(build_lib)
173
+ build_lib.mkdir(parents=True, exist_ok=True)
174
+ target_pth_file = build_lib / pth_filename
175
176
cmd.copy_file(str(source_pth_file), str(target_pth_file))
177
178
0 commit comments