From fd0c84dc28d00d68e4f43034dc41786a682390fd Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Thu, 4 Nov 2021 16:39:36 +0000 Subject: bpo-45220: Remove invalid include from resource definition files on Windows (GH-29396) --- PC/pylauncher.rc | 1 - PC/pyshellext.rc | 1 - PC/python_exe.rc | 1 - PC/python_nt.rc | 1 - PC/pythonw_exe.rc | 1 - PC/sqlite3.rc | 1 - PCbuild/python.props | 3 --- 7 files changed, 9 deletions(-) diff --git a/PC/pylauncher.rc b/PC/pylauncher.rc index 92987af..d21f9b6 100644 --- a/PC/pylauncher.rc +++ b/PC/pylauncher.rc @@ -4,7 +4,6 @@ // Include the manifest file that indicates we support all // current versions of Windows. -#include 1 RT_MANIFEST "python.manifest" #if defined(PY_ICON) diff --git a/PC/pyshellext.rc b/PC/pyshellext.rc index e5924a4..fc607e9 100644 --- a/PC/pyshellext.rc +++ b/PC/pyshellext.rc @@ -4,7 +4,6 @@ // Include the manifest file that indicates we support all // current versions of Windows. -#include 1 RT_MANIFEST "python.manifest" ///////////////////////////////////////////////////////////////////////////// diff --git a/PC/python_exe.rc b/PC/python_exe.rc index ae0b029..5eba899 100644 --- a/PC/python_exe.rc +++ b/PC/python_exe.rc @@ -4,7 +4,6 @@ // Include the manifest file that indicates we support all // current versions of Windows. -#include 1 RT_MANIFEST "python.manifest" 1 ICON DISCARDABLE "icons\python.ico" diff --git a/PC/python_nt.rc b/PC/python_nt.rc index b5fb58f..6fd872c 100644 --- a/PC/python_nt.rc +++ b/PC/python_nt.rc @@ -4,7 +4,6 @@ // Include the manifest file that indicates we support all // current versions of Windows. -#include 2 RT_MANIFEST "python.manifest" ///////////////////////////////////////////////////////////////////////////// diff --git a/PC/pythonw_exe.rc b/PC/pythonw_exe.rc index 88bf359..562652b 100644 --- a/PC/pythonw_exe.rc +++ b/PC/pythonw_exe.rc @@ -4,7 +4,6 @@ // Include the manifest file that indicates we support all // current versions of Windows. -#include 1 RT_MANIFEST "python.manifest" 1 ICON DISCARDABLE "icons\pythonw.ico" diff --git a/PC/sqlite3.rc b/PC/sqlite3.rc index 84bd87d..d2c18f8 100644 --- a/PC/sqlite3.rc +++ b/PC/sqlite3.rc @@ -4,7 +4,6 @@ // Include the manifest file that indicates we support all // current versions of Windows. -#include 2 RT_MANIFEST "python.manifest" ///////////////////////////////////////////////////////////////////////////// diff --git a/PCbuild/python.props b/PCbuild/python.props index 142c12a..b739e41 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -107,9 +107,6 @@ <_RegistryVersion Condition="$(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))">$(_RegistryVersion).0 - - <_RegistryVersion Condition="$([System.Version]::Parse($(_RegistryVersion))) >= $([System.Version]::Parse(`10.0.22000.0`))">10.0.19041.0 - 10.0.10586.0 $(_RegistryVersion) -- cgit v0.12