Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9cd1f5e

Browse filesBrowse files
committed
make build_lib first
1 parent c0e5613 commit 9cd1f5e
Copy full SHA for 9cd1f5e

File tree

1 file changed

+5
-1
lines changed
Filter options

1 file changed

+5
-1
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+5-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,11 @@ def build_with_pth_file(cmd: Command):
168168

169169
pth_filename = f"{NAME}.pth"
170170
source_pth_file = ROOT_DIR / pth_filename
171-
target_pth_file = Path(build_lib, pth_filename)
171+
172+
build_lib = Path(build_lib)
173+
build_lib.mkdir(parents=True, exist_ok=True)
174+
target_pth_file = build_lib / pth_filename
175+
172176
cmd.copy_file(str(source_pth_file), str(target_pth_file))
173177

174178

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.