diff --git a/Mac/IDLE/IDLE.app/Contents/Info.plist b/Mac/IDLE/IDLE.app/Contents/Info.plist index 8549e405e2a65a..696625e64cdf32 100644 --- a/Mac/IDLE/IDLE.app/Contents/Info.plist +++ b/Mac/IDLE/IDLE.app/Contents/Info.plist @@ -1,9 +1,23 @@ - + - CFBundleDevelopmentRegion - English + CFBundleName + IDLE + CFBundleIdentifier + org.python.IDLE + CFBundleVersion + %version% + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleExecutable + IDLE + CFBundleIconFile + IDLE.icns + CFBundleInfoDictionaryVersion + 6.0 CFBundleDocumentTypes @@ -34,26 +48,16 @@ Editor - CFBundleExecutable - IDLE - CFBundleGetInfoString - %version%, © 2001-2024 Python Software Foundation - CFBundleIconFile - IDLE.icns - CFBundleIdentifier - org.python.IDLE - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - IDLE - CFBundlePackageType - APPL CFBundleShortVersionString %version% - CFBundleSignature - ???? - CFBundleVersion - %version% + CFBundleSupportedPlatforms + + MacOSX + + NSHumanReadableCopyright + Copyright © 2001 Python Software Foundation. All rights reserved. + CFBundleDevelopmentRegion + English NSHighResolutionCapable CFBundleAllowMixedLocalizations diff --git a/Mac/PythonLauncher/Info.plist.in b/Mac/PythonLauncher/Info.plist.in index ce8f27cd7d4de7..dd63187ab836b3 100644 --- a/Mac/PythonLauncher/Info.plist.in +++ b/Mac/PythonLauncher/Info.plist.in @@ -2,8 +2,22 @@ - CFBundleDevelopmentRegion - en + CFBundleName + Python Launcher + CFBundleIdentifier + org.python.PythonLauncher + CFBundleVersion + %VERSION% + CFBundlePackageType + APPL + CFBundleSignature + PytL + CFBundleExecutable + Python Launcher + CFBundleIconFile + PythonLauncher.icns + CFBundleInfoDictionaryVersion + 6.0 CFBundleDocumentTypes @@ -37,28 +51,16 @@ MyDocument - CFBundleExecutable - Python Launcher - NSHumanReadableCopyright - Copyright © 2001 Python Software Foundation - CFBundleGetInfoString - %VERSION%, © 2001 Python Software Foundation - CFBundleIconFile - PythonLauncher.icns - CFBundleIdentifier - org.python.PythonLauncher - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - Python Launcher - CFBundlePackageType - APPL CFBundleShortVersionString %VERSION% - CFBundleSignature - PytL - CFBundleVersion - %VERSION% + CFBundleSupportedPlatforms + + MacOSX + + NSHumanReadableCopyright + Copyright © 2001 Python Software Foundation. All rights reserved. + CFBundleDevelopmentRegion + English NSMainNibFile MainMenu NSPrincipalClass diff --git a/Mac/Resources/app/Info.plist.in b/Mac/Resources/app/Info.plist.in index a1fc1511c40e96..07dc351398d7b2 100644 --- a/Mac/Resources/app/Info.plist.in +++ b/Mac/Resources/app/Info.plist.in @@ -1,9 +1,23 @@ - + - CFBundleDevelopmentRegion - English + CFBundleName + Python + CFBundleIdentifier + %bundleid% + CFBundleVersion + %version% + CFBundlePackageType + APPL + CFBundleSignature + PytX + CFBundleExecutable + Python + CFBundleIconFile + PythonInterpreter.icns + CFBundleInfoDictionaryVersion + 6.0 CFBundleDocumentTypes @@ -17,48 +31,33 @@ Viewer - CFBundleExecutable - Python - CFBundleGetInfoString - %version%, (c) 2001-2024 Python Software Foundation. + CFBundleShortVersionString + %version% + CFBundleSupportedPlatforms + + MacOSX + + NSHumanReadableCopyright + Copyright © 2001 Python Software Foundation. All rights reserved. + CFBundleDevelopmentRegion + English + NSHighResolutionCapable + + NSAppleScriptEnabled + + CFBundleAllowMixedLocalizations + CFBundleHelpBookFolder Documentation - PythonDocumentation CFBundleHelpBookName - MacPython Help + Python Help CFBundleHelpTOCFile index.html - CFBundleIconFile - PythonInterpreter.icns - CFBundleIdentifier - %bundleid% - CFBundleInfoDictionaryVersion - 6.0 - CFBundleLongVersionString - %version%, (c) 2001-2024 Python Software Foundation. - CFBundleName - Python - CFBundlePackageType - APPL - CFBundleShortVersionString - %version% - CFBundleSignature - PytX - CFBundleVersion - %version% CSResourcesFileMapped LSRequiresCarbon - NSAppleScriptEnabled - - NSHumanReadableCopyright - (c) 2001-2024 Python Software Foundation. - NSHighResolutionCapable - - CFBundleAllowMixedLocalizations - diff --git a/Mac/Resources/framework/Info.plist.in b/Mac/Resources/framework/Info.plist.in index 4c42971ed90ee4..41400c91a5f1b0 100644 --- a/Mac/Resources/framework/Info.plist.in +++ b/Mac/Resources/framework/Info.plist.in @@ -1,29 +1,31 @@ - - + + - CFBundleDevelopmentRegion - English - CFBundleExecutable + CFBundleName Python - CFBundleGetInfoString - Python Runtime and Library CFBundleIdentifier @PYTHONFRAMEWORKIDENTIFIER@ - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - Python + CFBundleVersion + %VERSION% CFBundlePackageType FMWK - CFBundleShortVersionString - %VERSION%, (c) 2001-2024 Python Software Foundation. - CFBundleLongVersionString - %VERSION%, (c) 2001-2024 Python Software Foundation. CFBundleSignature ???? - CFBundleVersion + CFBundleExecutable + Python + CFBundleInfoDictionaryVersion + 6.0 + CFBundleShortVersionString %VERSION% + CFBundleSupportedPlatforms + + MacOSX + + NSHumanReadableCopyright + Copyright © 2001 Python Software Foundation. All rights reserved. + CFBundleDevelopmentRegion + English CFBundleAllowMixedLocalizations diff --git a/Misc/NEWS.d/next/macOS/2026-05-06-18-23-36.gh-issue-142295.O9RmZH.rst b/Misc/NEWS.d/next/macOS/2026-05-06-18-23-36.gh-issue-142295.O9RmZH.rst new file mode 100644 index 00000000000000..b3c43989cd10c3 --- /dev/null +++ b/Misc/NEWS.d/next/macOS/2026-05-06-18-23-36.gh-issue-142295.O9RmZH.rst @@ -0,0 +1,3 @@ +For Python macOS framework builds, update Info.plist files to be more +compliant with current Apple guidelines. Original patch contributed by +Martinus Verburg.