Skip to content

Commit 9cd1f5e

Browse files
committed
make build_lib first
1 parent c0e5613 commit 9cd1f5e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy