10000 gh-119679: Fix layout of PYD and DLL files on Windows when using PC/layout script by zooba · Pull Request #120133 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-119679: Fix layout of PYD and DLL files on Windows when using PC/layout script #120133

8000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PC/layout/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def in_build(f, dest="", new_name=None, no_lib=False):

yield "LICENSE.txt", ns.build / "LICENSE.txt"

dest="" if ns.flat_dlls else "DLLs/"
dest = "" if ns.flat_dlls else "DLLs/"

for _, src in rglob(ns.build, "*.pyd"):
if ns.include_freethreaded:
Expand All @@ -226,7 +226,7 @@ def in_build(f, dest="", new_name=None, no_lib=False):
continue
if src in EXCLUDE_FROM_DLLS:
continue
yield from in_build(src.name, no_lib=True)
yield from in_build(src.name, dest=dest, no_lib=True)

if ns.zip_lib:
zip_name = PYTHON_ZIP_NAME
Expand Down
Loading
0