diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-06 15:38:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-06 15:38:31 (GMT) |
commit | fbdff3803af23f632469933e33ee735f853bbdec (patch) | |
tree | 12d36f43905756dbe5f9a0a5bf63efad43e91b3f | |
parent | 13e5f455c45d21a3642aaf429cf20cac71dbf29b (diff) | |
download | cpython-fbdff3803af23f632469933e33ee735f853bbdec.zip cpython-fbdff3803af23f632469933e33ee735f853bbdec.tar.gz cpython-fbdff3803af23f632469933e33ee735f853bbdec.tar.bz2 |
gh-119679: Fix layout of PYD and DLL files on Windows when using PC/layout script (GH-120133)
(cherry picked from commit cccc9f63c63ae693ccd0e2d8fc6cfd3aa18feb8e)
Co-authored-by: Steve Dower <steve.dower@python.org>
-rw-r--r-- | PC/layout/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/layout/main.py b/PC/layout/main.py index 716f010..0350ed7 100644 --- a/PC/layout/main.py +++ b/PC/layout/main.py @@ -202,7 +202,7 @@ def get_layout(ns): 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: @@ -226,7 +226,7 @@ def get_layout(ns): 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 |