We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 865a8c5 commit ca3a44aCopy full SHA for ca3a44a
cpython-windows/build.py
@@ -499,6 +499,14 @@ def hack_project_files(
499
python_version,
500
)
501
502
+ # `--include-tcltk` is forced off on arm64, undo that
503
+ # See https://github.com/python/cpython/pull/132650
504
+ static_replace_in_file(
505
+ cpython_source_path / "PC" / "layout" / "main.py",
506
+ rb'if ns.arch in ("arm32", "arm64"):',
507
+ rb'if ns.arch == "arm32":',
508
+ )
509
+
510
# Our SQLite directory is named weirdly. This throws off version detection
511
# in the project file. Replace the parsing logic with a static string.
512
sqlite3_version = DOWNLOADS["sqlite"]["actual_version"].encode("ascii")
0 commit comments