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 cab84a5 commit 8e9d8fbCopy full SHA for 8e9d8fb
cpython-windows/build.py
@@ -588,11 +588,14 @@ def hack_project_files(
588
if meets_python_minimum_version(python_version, "3.12") and (
589
meets_python_maximum_version(python_version, "3.13") or arch == "arm64"
590
):
591
- static_replace_in_file(
592
- pcbuild_path / "_tkinter.vcxproj",
593
- rb'<_TclTkDLL Include="$(tcltkdir)\bin\$(tclZlibDllName)" />',
594
- rb"",
595
- )
+ try:
+ static_replace_in_file(
+ pcbuild_path / "_tkinter.vcxproj",
+ rb'<_TclTkDLL Include="$(tcltkdir)\bin\$(tclZlibDllName)" />',
+ rb"",
596
+ )
597
+ except NoSearchStringError:
598
+ pass
599
600
# We don't need to produce python_uwp.exe and its *w variant. Or the
601
# python3.dll, pyshellext, or pylauncher.
0 commit comments