Skip to content

Commit

Permalink
make build_lib first
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed May 19, 2023
1 parent c0e5613 commit 9cd1f5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Expand Up @@ -168,7 +168,11 @@ def build_with_pth_file(cmd: Command):

pth_filename = f"{NAME}.pth"
source_pth_file = ROOT_DIR / pth_filename
target_pth_file = Path(build_lib, pth_filename)

build_lib = Path(build_lib)
build_lib.mkdir(parents=True, exist_ok=True)
target_pth_file = build_lib / pth_filename

cmd.copy_file(str(source_pth_file), str(target_pth_file))


Expand Down

0 comments on commit 9cd1f5e

Please sign in to comment.