mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-132649: Allow passing --include-tcltk to PC\layout on Windows ARM64 (GH-132650)
This commit is contained in:
parent
cf59bc3ae7
commit
b87189deae
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
The :file:`PC\layout` script now allows passing ``--include-tcltk`` on
|
||||
Windows ARM64.
|
|
@ -657,7 +657,7 @@ Catalog: {ns.catalog}""",
|
|||
if ns.arch not in ("win32", "amd64", "arm32", "arm64"):
|
||||
log_error("--arch is not a valid value (win32, amd64, arm32, arm64)")
|
||||
return 4
|
||||
if ns.arch in ("arm32", "arm64"):
|
||||
if ns.arch == "arm32":
|
||||
for n in ("include_idle", "include_tcltk"):
|
||||
if getattr(ns, n):
|
||||
log_warning(f"Disabling --{n.replace('_', '-')} on unsupported platform")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue