From 059decb2fabf401ba52e0a407d6cdd647dde5548 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Mon, 2 Mar 2026 16:53:18 -0600 Subject: [PATCH 1/2] take care of the low hanging fruit first. ;-) --- {Mac => Platforms/Mac}/BuildScript/README.rst | 0 .../Mac}/BuildScript/backport_gh110950_fix.patch | 0 .../Mac}/BuildScript/backport_gh71383_fix.patch | 0 .../Mac}/BuildScript/build-installer.py | 0 .../Mac}/BuildScript/resources/Conclusion.rtf | 0 .../Mac}/BuildScript/resources/License.rtf | 0 .../Mac}/BuildScript/resources/ReadMe.rtf | 0 .../Mac}/BuildScript/resources/Welcome.rtf | 0 .../Mac}/BuildScript/resources/background.jpg | Bin .../resources/install_certificates.command | 0 .../resources/update_shell_profile.command | 0 .../BuildScript/scripts/postflight.documentation | 0 .../Mac}/BuildScript/scripts/postflight.ensurepip | 0 .../Mac}/BuildScript/scripts/postflight.framework | 0 .../BuildScript/scripts/postflight.patch-profile | 0 {Mac => Platforms/Mac}/BuildScript/seticon.m | 0 .../Mac}/BuildScript/tk868_on_10_8_10_9.patch | 0 {Mac => Platforms/Mac}/Extras.install.py | 0 .../Mac}/IDLE/IDLE.app/Contents/Info.plist | 0 .../Mac}/IDLE/IDLE.app/Contents/MacOS/IDLE | 0 .../Mac}/IDLE/IDLE.app/Contents/PkgInfo | 0 .../Mac}/IDLE/IDLE.app/Contents/Resources/IDLE.icns | Bin .../IDLE.app/Contents/Resources/PythonCompiled.icns | Bin .../IDLE.app/Contents/Resources/PythonSource.icns | Bin .../IDLE/IDLE.app/Contents/Resources/idlemain.py | 0 {Mac => Platforms/Mac}/Icons/Disk Image.icns | Bin {Mac => Platforms/Mac}/Icons/IDLE.icns | Bin {Mac => Platforms/Mac}/Icons/Python Folder.icns | Bin {Mac => Platforms/Mac}/Icons/PythonCompiled.icns | Bin {Mac => Platforms/Mac}/Icons/PythonLauncher.icns | Bin {Mac => Platforms/Mac}/Icons/PythonSource.icns | Bin {Mac => Platforms/Mac}/Icons/ReadMe.txt | 0 {Mac => Platforms/Mac}/Makefile.in | 0 .../Mac}/PythonLauncher/English.lproj/Credits.rtf | 0 .../English.lproj/MainMenu.nib/classes.nib | 0 .../English.lproj/MainMenu.nib/info.nib | 0 .../English.lproj/MainMenu.nib/objects.nib | Bin .../English.lproj/MyDocument.nib/classes.nib | 0 .../English.lproj/MyDocument.nib/info.nib | 0 .../English.lproj/MyDocument.nib/objects.nib | Bin .../English.lproj/PreferenceWindow.nib/classes.nib | 0 .../English.lproj/PreferenceWindow.nib/info.nib | 0 .../English.lproj/PreferenceWindow.nib/objects.nib | Bin .../Mac}/PythonLauncher/FileSettings.h | 0 .../Mac}/PythonLauncher/FileSettings.m | 0 {Mac => Platforms/Mac}/PythonLauncher/Info.plist.in | 0 {Mac => Platforms/Mac}/PythonLauncher/Makefile.in | 0 .../Mac}/PythonLauncher/MyAppDelegate.h | 0 .../Mac}/PythonLauncher/MyAppDelegate.m | 0 {Mac => Platforms/Mac}/PythonLauncher/MyDocument.h | 0 {Mac => Platforms/Mac}/PythonLauncher/MyDocument.m | 0 .../PythonLauncher/PreferencesWindowController.h | 0 .../PythonLauncher/PreferencesWindowController.m | 0 {Mac => Platforms/Mac}/PythonLauncher/doscript.h | 0 {Mac => Platforms/Mac}/PythonLauncher/doscript.m | 0 .../Mac}/PythonLauncher/factorySettings.plist | 0 {Mac => Platforms/Mac}/PythonLauncher/main.m | 0 {Mac => Platforms/Mac}/README.rst | 0 .../Mac}/Resources/app-store-compliance.patch | 0 {Mac => Platforms/Mac}/Resources/app/Info.plist.in | 0 {Mac => Platforms/Mac}/Resources/app/PkgInfo | 0 .../Mac}/Resources/app/Resources/PythonApplet.icns | Bin .../Resources/app/Resources/PythonInterpreter.icns | Bin .../Mac}/Resources/framework/Info.plist.in | 0 {Mac => Platforms/Mac}/Resources/iconsrc/IDE.psd | Bin .../Mac}/Resources/iconsrc/PackageManager.psd | Bin .../Mac}/Resources/iconsrc/PythonApplet.psd | Bin .../Mac}/Resources/iconsrc/PythonCompiled.psd | Bin .../Mac}/Resources/iconsrc/PythonIcon.psd | Bin .../Mac}/Resources/iconsrc/PythonSource.psd | Bin .../Mac}/Resources/iconsrc/PythonWSource.psd | Bin .../Mac}/Tools/plistlib_generate_testdata.py | 0 {Mac => Platforms/Mac}/Tools/pythonw.c | 0 73 files changed, 0 insertions(+), 0 deletions(-) rename {Mac => Platforms/Mac}/BuildScript/README.rst (100%) rename {Mac => Platforms/Mac}/BuildScript/backport_gh110950_fix.patch (100%) rename {Mac => Platforms/Mac}/BuildScript/backport_gh71383_fix.patch (100%) rename {Mac => Platforms/Mac}/BuildScript/build-installer.py (100%) rename {Mac => Platforms/Mac}/BuildScript/resources/Conclusion.rtf (100%) rename {Mac => Platforms/Mac}/BuildScript/resources/License.rtf (100%) rename {Mac => Platforms/Mac}/BuildScript/resources/ReadMe.rtf (100%) rename {Mac => Platforms/Mac}/BuildScript/resources/Welcome.rtf (100%) rename {Mac => Platforms/Mac}/BuildScript/resources/background.jpg (100%) rename {Mac => Platforms/Mac}/BuildScript/resources/install_certificates.command (100%) rename {Mac => Platforms/Mac}/BuildScript/resources/update_shell_profile.command (100%) rename {Mac => Platforms/Mac}/BuildScript/scripts/postflight.documentation (100%) rename {Mac => Platforms/Mac}/BuildScript/scripts/postflight.ensurepip (100%) rename {Mac => Platforms/Mac}/BuildScript/scripts/postflight.framework (100%) rename {Mac => Platforms/Mac}/BuildScript/scripts/postflight.patch-profile (100%) rename {Mac => Platforms/Mac}/BuildScript/seticon.m (100%) rename {Mac => Platforms/Mac}/BuildScript/tk868_on_10_8_10_9.patch (100%) rename {Mac => Platforms/Mac}/Extras.install.py (100%) rename {Mac => Platforms/Mac}/IDLE/IDLE.app/Contents/Info.plist (100%) rename {Mac => Platforms/Mac}/IDLE/IDLE.app/Contents/MacOS/IDLE (100%) rename {Mac => Platforms/Mac}/IDLE/IDLE.app/Contents/PkgInfo (100%) rename {Mac => Platforms/Mac}/IDLE/IDLE.app/Contents/Resources/IDLE.icns (100%) rename {Mac => Platforms/Mac}/IDLE/IDLE.app/Contents/Resources/PythonCompiled.icns (100%) rename {Mac => Platforms/Mac}/IDLE/IDLE.app/Contents/Resources/PythonSource.icns (100%) rename {Mac => Platforms/Mac}/IDLE/IDLE.app/Contents/Resources/idlemain.py (100%) rename {Mac => Platforms/Mac}/Icons/Disk Image.icns (100%) rename {Mac => Platforms/Mac}/Icons/IDLE.icns (100%) rename {Mac => Platforms/Mac}/Icons/Python Folder.icns (100%) rename {Mac => Platforms/Mac}/Icons/PythonCompiled.icns (100%) rename {Mac => Platforms/Mac}/Icons/PythonLauncher.icns (100%) rename {Mac => Platforms/Mac}/Icons/PythonSource.icns (100%) rename {Mac => Platforms/Mac}/Icons/ReadMe.txt (100%) rename {Mac => Platforms/Mac}/Makefile.in (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/Credits.rtf (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/MainMenu.nib/classes.nib (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/MainMenu.nib/info.nib (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/MainMenu.nib/objects.nib (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/MyDocument.nib/classes.nib (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/MyDocument.nib/info.nib (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/MyDocument.nib/objects.nib (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/PreferenceWindow.nib/classes.nib (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/PreferenceWindow.nib/info.nib (100%) rename {Mac => Platforms/Mac}/PythonLauncher/English.lproj/PreferenceWindow.nib/objects.nib (100%) rename {Mac => Platforms/Mac}/PythonLauncher/FileSettings.h (100%) rename {Mac => Platforms/Mac}/PythonLauncher/FileSettings.m (100%) rename {Mac => Platforms/Mac}/PythonLauncher/Info.plist.in (100%) rename {Mac => Platforms/Mac}/PythonLauncher/Makefile.in (100%) rename {Mac => Platforms/Mac}/PythonLauncher/MyAppDelegate.h (100%) rename {Mac => Platforms/Mac}/PythonLauncher/MyAppDelegate.m (100%) rename {Mac => Platforms/Mac}/PythonLauncher/MyDocument.h (100%) rename {Mac => Platforms/Mac}/PythonLauncher/MyDocument.m (100%) rename {Mac => Platforms/Mac}/PythonLauncher/PreferencesWindowController.h (100%) rename {Mac => Platforms/Mac}/PythonLauncher/PreferencesWindowController.m (100%) rename {Mac => Platforms/Mac}/PythonLauncher/doscript.h (100%) rename {Mac => Platforms/Mac}/PythonLauncher/doscript.m (100%) rename {Mac => Platforms/Mac}/PythonLauncher/factorySettings.plist (100%) rename {Mac => Platforms/Mac}/PythonLauncher/main.m (100%) rename {Mac => Platforms/Mac}/README.rst (100%) rename {Mac => Platforms/Mac}/Resources/app-store-compliance.patch (100%) rename {Mac => Platforms/Mac}/Resources/app/Info.plist.in (100%) rename {Mac => Platforms/Mac}/Resources/app/PkgInfo (100%) rename {Mac => Platforms/Mac}/Resources/app/Resources/PythonApplet.icns (100%) rename {Mac => Platforms/Mac}/Resources/app/Resources/PythonInterpreter.icns (100%) rename {Mac => Platforms/Mac}/Resources/framework/Info.plist.in (100%) rename {Mac => Platforms/Mac}/Resources/iconsrc/IDE.psd (100%) rename {Mac => Platforms/Mac}/Resources/iconsrc/PackageManager.psd (100%) rename {Mac => Platforms/Mac}/Resources/iconsrc/PythonApplet.psd (100%) rename {Mac => Platforms/Mac}/Resources/iconsrc/PythonCompiled.psd (100%) rename {Mac => Platforms/Mac}/Resources/iconsrc/PythonIcon.psd (100%) rename {Mac => Platforms/Mac}/Resources/iconsrc/PythonSource.psd (100%) rename {Mac => Platforms/Mac}/Resources/iconsrc/PythonWSource.psd (100%) rename {Mac => Platforms/Mac}/Tools/plistlib_generate_testdata.py (100%) rename {Mac => Platforms/Mac}/Tools/pythonw.c (100%) diff --git a/Mac/BuildScript/README.rst b/Platforms/Mac/BuildScript/README.rst similarity index 100% rename from Mac/BuildScript/README.rst rename to Platforms/Mac/BuildScript/README.rst diff --git a/Mac/BuildScript/backport_gh110950_fix.patch b/Platforms/Mac/BuildScript/backport_gh110950_fix.patch similarity index 100% rename from Mac/BuildScript/backport_gh110950_fix.patch rename to Platforms/Mac/BuildScript/backport_gh110950_fix.patch diff --git a/Mac/BuildScript/backport_gh71383_fix.patch b/Platforms/Mac/BuildScript/backport_gh71383_fix.patch similarity index 100% rename from Mac/BuildScript/backport_gh71383_fix.patch rename to Platforms/Mac/BuildScript/backport_gh71383_fix.patch diff --git a/Mac/BuildScript/build-installer.py b/Platforms/Mac/BuildScript/build-installer.py similarity index 100% rename from Mac/BuildScript/build-installer.py rename to Platforms/Mac/BuildScript/build-installer.py diff --git a/Mac/BuildScript/resources/Conclusion.rtf b/Platforms/Mac/BuildScript/resources/Conclusion.rtf similarity index 100% rename from Mac/BuildScript/resources/Conclusion.rtf rename to Platforms/Mac/BuildScript/resources/Conclusion.rtf diff --git a/Mac/BuildScript/resources/License.rtf b/Platforms/Mac/BuildScript/resources/License.rtf similarity index 100% rename from Mac/BuildScript/resources/License.rtf rename to Platforms/Mac/BuildScript/resources/License.rtf diff --git a/Mac/BuildScript/resources/ReadMe.rtf b/Platforms/Mac/BuildScript/resources/ReadMe.rtf similarity index 100% rename from Mac/BuildScript/resources/ReadMe.rtf rename to Platforms/Mac/BuildScript/resources/ReadMe.rtf diff --git a/Mac/BuildScript/resources/Welcome.rtf b/Platforms/Mac/BuildScript/resources/Welcome.rtf similarity index 100% rename from Mac/BuildScript/resources/Welcome.rtf rename to Platforms/Mac/BuildScript/resources/Welcome.rtf diff --git a/Mac/BuildScript/resources/background.jpg b/Platforms/Mac/BuildScript/resources/background.jpg similarity index 100% rename from Mac/BuildScript/resources/background.jpg rename to Platforms/Mac/BuildScript/resources/background.jpg diff --git a/Mac/BuildScript/resources/install_certificates.command b/Platforms/Mac/BuildScript/resources/install_certificates.command similarity index 100% rename from Mac/BuildScript/resources/install_certificates.command rename to Platforms/Mac/BuildScript/resources/install_certificates.command diff --git a/Mac/BuildScript/resources/update_shell_profile.command b/Platforms/Mac/BuildScript/resources/update_shell_profile.command similarity index 100% rename from Mac/BuildScript/resources/update_shell_profile.command rename to Platforms/Mac/BuildScript/resources/update_shell_profile.command diff --git a/Mac/BuildScript/scripts/postflight.documentation b/Platforms/Mac/BuildScript/scripts/postflight.documentation similarity index 100% rename from Mac/BuildScript/scripts/postflight.documentation rename to Platforms/Mac/BuildScript/scripts/postflight.documentation diff --git a/Mac/BuildScript/scripts/postflight.ensurepip b/Platforms/Mac/BuildScript/scripts/postflight.ensurepip similarity index 100% rename from Mac/BuildScript/scripts/postflight.ensurepip rename to Platforms/Mac/BuildScript/scripts/postflight.ensurepip diff --git a/Mac/BuildScript/scripts/postflight.framework b/Platforms/Mac/BuildScript/scripts/postflight.framework similarity index 100% rename from Mac/BuildScript/scripts/postflight.framework rename to Platforms/Mac/BuildScript/scripts/postflight.framework diff --git a/Mac/BuildScript/scripts/postflight.patch-profile b/Platforms/Mac/BuildScript/scripts/postflight.patch-profile similarity index 100% rename from Mac/BuildScript/scripts/postflight.patch-profile rename to Platforms/Mac/BuildScript/scripts/postflight.patch-profile diff --git a/Mac/BuildScript/seticon.m b/Platforms/Mac/BuildScript/seticon.m similarity index 100% rename from Mac/BuildScript/seticon.m rename to Platforms/Mac/BuildScript/seticon.m diff --git a/Mac/BuildScript/tk868_on_10_8_10_9.patch b/Platforms/Mac/BuildScript/tk868_on_10_8_10_9.patch similarity index 100% rename from Mac/BuildScript/tk868_on_10_8_10_9.patch rename to Platforms/Mac/BuildScript/tk868_on_10_8_10_9.patch diff --git a/Mac/Extras.install.py b/Platforms/Mac/Extras.install.py similarity index 100% rename from Mac/Extras.install.py rename to Platforms/Mac/Extras.install.py diff --git a/Mac/IDLE/IDLE.app/Contents/Info.plist b/Platforms/Mac/IDLE/IDLE.app/Contents/Info.plist similarity index 100% rename from Mac/IDLE/IDLE.app/Contents/Info.plist rename to Platforms/Mac/IDLE/IDLE.app/Contents/Info.plist diff --git a/Mac/IDLE/IDLE.app/Contents/MacOS/IDLE b/Platforms/Mac/IDLE/IDLE.app/Contents/MacOS/IDLE similarity index 100% rename from Mac/IDLE/IDLE.app/Contents/MacOS/IDLE rename to Platforms/Mac/IDLE/IDLE.app/Contents/MacOS/IDLE diff --git a/Mac/IDLE/IDLE.app/Contents/PkgInfo b/Platforms/Mac/IDLE/IDLE.app/Contents/PkgInfo similarity index 100% rename from Mac/IDLE/IDLE.app/Contents/PkgInfo rename to Platforms/Mac/IDLE/IDLE.app/Contents/PkgInfo diff --git a/Mac/IDLE/IDLE.app/Contents/Resources/IDLE.icns b/Platforms/Mac/IDLE/IDLE.app/Contents/Resources/IDLE.icns similarity index 100% rename from Mac/IDLE/IDLE.app/Contents/Resources/IDLE.icns rename to Platforms/Mac/IDLE/IDLE.app/Contents/Resources/IDLE.icns diff --git a/Mac/IDLE/IDLE.app/Contents/Resources/PythonCompiled.icns b/Platforms/Mac/IDLE/IDLE.app/Contents/Resources/PythonCompiled.icns similarity index 100% rename from Mac/IDLE/IDLE.app/Contents/Resources/PythonCompiled.icns rename to Platforms/Mac/IDLE/IDLE.app/Contents/Resources/PythonCompiled.icns diff --git a/Mac/IDLE/IDLE.app/Contents/Resources/PythonSource.icns b/Platforms/Mac/IDLE/IDLE.app/Contents/Resources/PythonSource.icns similarity index 100% rename from Mac/IDLE/IDLE.app/Contents/Resources/PythonSource.icns rename to Platforms/Mac/IDLE/IDLE.app/Contents/Resources/PythonSource.icns diff --git a/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py b/Platforms/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py similarity index 100% rename from Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py rename to Platforms/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py diff --git a/Mac/Icons/Disk Image.icns b/Platforms/Mac/Icons/Disk Image.icns similarity index 100% rename from Mac/Icons/Disk Image.icns rename to Platforms/Mac/Icons/Disk Image.icns diff --git a/Mac/Icons/IDLE.icns b/Platforms/Mac/Icons/IDLE.icns similarity index 100% rename from Mac/Icons/IDLE.icns rename to Platforms/Mac/Icons/IDLE.icns diff --git a/Mac/Icons/Python Folder.icns b/Platforms/Mac/Icons/Python Folder.icns similarity index 100% rename from Mac/Icons/Python Folder.icns rename to Platforms/Mac/Icons/Python Folder.icns diff --git a/Mac/Icons/PythonCompiled.icns b/Platforms/Mac/Icons/PythonCompiled.icns similarity index 100% rename from Mac/Icons/PythonCompiled.icns rename to Platforms/Mac/Icons/PythonCompiled.icns diff --git a/Mac/Icons/PythonLauncher.icns b/Platforms/Mac/Icons/PythonLauncher.icns similarity index 100% rename from Mac/Icons/PythonLauncher.icns rename to Platforms/Mac/Icons/PythonLauncher.icns diff --git a/Mac/Icons/PythonSource.icns b/Platforms/Mac/Icons/PythonSource.icns similarity index 100% rename from Mac/Icons/PythonSource.icns rename to Platforms/Mac/Icons/PythonSource.icns diff --git a/Mac/Icons/ReadMe.txt b/Platforms/Mac/Icons/ReadMe.txt similarity index 100% rename from Mac/Icons/ReadMe.txt rename to Platforms/Mac/Icons/ReadMe.txt diff --git a/Mac/Makefile.in b/Platforms/Mac/Makefile.in similarity index 100% rename from Mac/Makefile.in rename to Platforms/Mac/Makefile.in diff --git a/Mac/PythonLauncher/English.lproj/Credits.rtf b/Platforms/Mac/PythonLauncher/English.lproj/Credits.rtf similarity index 100% rename from Mac/PythonLauncher/English.lproj/Credits.rtf rename to Platforms/Mac/PythonLauncher/English.lproj/Credits.rtf diff --git a/Mac/PythonLauncher/English.lproj/MainMenu.nib/classes.nib b/Platforms/Mac/PythonLauncher/English.lproj/MainMenu.nib/classes.nib similarity index 100% rename from Mac/PythonLauncher/English.lproj/MainMenu.nib/classes.nib rename to Platforms/Mac/PythonLauncher/English.lproj/MainMenu.nib/classes.nib diff --git a/Mac/PythonLauncher/English.lproj/MainMenu.nib/info.nib b/Platforms/Mac/PythonLauncher/English.lproj/MainMenu.nib/info.nib similarity index 100% rename from Mac/PythonLauncher/English.lproj/MainMenu.nib/info.nib rename to Platforms/Mac/PythonLauncher/English.lproj/MainMenu.nib/info.nib diff --git a/Mac/PythonLauncher/English.lproj/MainMenu.nib/objects.nib b/Platforms/Mac/PythonLauncher/English.lproj/MainMenu.nib/objects.nib similarity index 100% rename from Mac/PythonLauncher/English.lproj/MainMenu.nib/objects.nib rename to Platforms/Mac/PythonLauncher/English.lproj/MainMenu.nib/objects.nib diff --git a/Mac/PythonLauncher/English.lproj/MyDocument.nib/classes.nib b/Platforms/Mac/PythonLauncher/English.lproj/MyDocument.nib/classes.nib similarity index 100% rename from Mac/PythonLauncher/English.lproj/MyDocument.nib/classes.nib rename to Platforms/Mac/PythonLauncher/English.lproj/MyDocument.nib/classes.nib diff --git a/Mac/PythonLauncher/English.lproj/MyDocument.nib/info.nib b/Platforms/Mac/PythonLauncher/English.lproj/MyDocument.nib/info.nib similarity index 100% rename from Mac/PythonLauncher/English.lproj/MyDocument.nib/info.nib rename to Platforms/Mac/PythonLauncher/English.lproj/MyDocument.nib/info.nib diff --git a/Mac/PythonLauncher/English.lproj/MyDocument.nib/objects.nib b/Platforms/Mac/PythonLauncher/English.lproj/MyDocument.nib/objects.nib similarity index 100% rename from Mac/PythonLauncher/English.lproj/MyDocument.nib/objects.nib rename to Platforms/Mac/PythonLauncher/English.lproj/MyDocument.nib/objects.nib diff --git a/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/classes.nib b/Platforms/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/classes.nib similarity index 100% rename from Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/classes.nib rename to Platforms/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/classes.nib diff --git a/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/info.nib b/Platforms/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/info.nib similarity index 100% rename from Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/info.nib rename to Platforms/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/info.nib diff --git a/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/objects.nib b/Platforms/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/objects.nib similarity index 100% rename from Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/objects.nib rename to Platforms/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/objects.nib diff --git a/Mac/PythonLauncher/FileSettings.h b/Platforms/Mac/PythonLauncher/FileSettings.h similarity index 100% rename from Mac/PythonLauncher/FileSettings.h rename to Platforms/Mac/PythonLauncher/FileSettings.h diff --git a/Mac/PythonLauncher/FileSettings.m b/Platforms/Mac/PythonLauncher/FileSettings.m similarity index 100% rename from Mac/PythonLauncher/FileSettings.m rename to Platforms/Mac/PythonLauncher/FileSettings.m diff --git a/Mac/PythonLauncher/Info.plist.in b/Platforms/Mac/PythonLauncher/Info.plist.in similarity index 100% rename from Mac/PythonLauncher/Info.plist.in rename to Platforms/Mac/PythonLauncher/Info.plist.in diff --git a/Mac/PythonLauncher/Makefile.in b/Platforms/Mac/PythonLauncher/Makefile.in similarity index 100% rename from Mac/PythonLauncher/Makefile.in rename to Platforms/Mac/PythonLauncher/Makefile.in diff --git a/Mac/PythonLauncher/MyAppDelegate.h b/Platforms/Mac/PythonLauncher/MyAppDelegate.h similarity index 100% rename from Mac/PythonLauncher/MyAppDelegate.h rename to Platforms/Mac/PythonLauncher/MyAppDelegate.h diff --git a/Mac/PythonLauncher/MyAppDelegate.m b/Platforms/Mac/PythonLauncher/MyAppDelegate.m similarity index 100% rename from Mac/PythonLauncher/MyAppDelegate.m rename to Platforms/Mac/PythonLauncher/MyAppDelegate.m diff --git a/Mac/PythonLauncher/MyDocument.h b/Platforms/Mac/PythonLauncher/MyDocument.h similarity index 100% rename from Mac/PythonLauncher/MyDocument.h rename to Platforms/Mac/PythonLauncher/MyDocument.h diff --git a/Mac/PythonLauncher/MyDocument.m b/Platforms/Mac/PythonLauncher/MyDocument.m similarity index 100% rename from Mac/PythonLauncher/MyDocument.m rename to Platforms/Mac/PythonLauncher/MyDocument.m diff --git a/Mac/PythonLauncher/PreferencesWindowController.h b/Platforms/Mac/PythonLauncher/PreferencesWindowController.h similarity index 100% rename from Mac/PythonLauncher/PreferencesWindowController.h rename to Platforms/Mac/PythonLauncher/PreferencesWindowController.h diff --git a/Mac/PythonLauncher/PreferencesWindowController.m b/Platforms/Mac/PythonLauncher/PreferencesWindowController.m similarity index 100% rename from Mac/PythonLauncher/PreferencesWindowController.m rename to Platforms/Mac/PythonLauncher/PreferencesWindowController.m diff --git a/Mac/PythonLauncher/doscript.h b/Platforms/Mac/PythonLauncher/doscript.h similarity index 100% rename from Mac/PythonLauncher/doscript.h rename to Platforms/Mac/PythonLauncher/doscript.h diff --git a/Mac/PythonLauncher/doscript.m b/Platforms/Mac/PythonLauncher/doscript.m similarity index 100% rename from Mac/PythonLauncher/doscript.m rename to Platforms/Mac/PythonLauncher/doscript.m diff --git a/Mac/PythonLauncher/factorySettings.plist b/Platforms/Mac/PythonLauncher/factorySettings.plist similarity index 100% rename from Mac/PythonLauncher/factorySettings.plist rename to Platforms/Mac/PythonLauncher/factorySettings.plist diff --git a/Mac/PythonLauncher/main.m b/Platforms/Mac/PythonLauncher/main.m similarity index 100% rename from Mac/PythonLauncher/main.m rename to Platforms/Mac/PythonLauncher/main.m diff --git a/Mac/README.rst b/Platforms/Mac/README.rst similarity index 100% rename from Mac/README.rst rename to Platforms/Mac/README.rst diff --git a/Mac/Resources/app-store-compliance.patch b/Platforms/Mac/Resources/app-store-compliance.patch similarity index 100% rename from Mac/Resources/app-store-compliance.patch rename to Platforms/Mac/Resources/app-store-compliance.patch diff --git a/Mac/Resources/app/Info.plist.in b/Platforms/Mac/Resources/app/Info.plist.in similarity index 100% rename from Mac/Resources/app/Info.plist.in rename to Platforms/Mac/Resources/app/Info.plist.in diff --git a/Mac/Resources/app/PkgInfo b/Platforms/Mac/Resources/app/PkgInfo similarity index 100% rename from Mac/Resources/app/PkgInfo rename to Platforms/Mac/Resources/app/PkgInfo diff --git a/Mac/Resources/app/Resources/PythonApplet.icns b/Platforms/Mac/Resources/app/Resources/PythonApplet.icns similarity index 100% rename from Mac/Resources/app/Resources/PythonApplet.icns rename to Platforms/Mac/Resources/app/Resources/PythonApplet.icns diff --git a/Mac/Resources/app/Resources/PythonInterpreter.icns b/Platforms/Mac/Resources/app/Resources/PythonInterpreter.icns similarity index 100% rename from Mac/Resources/app/Resources/PythonInterpreter.icns rename to Platforms/Mac/Resources/app/Resources/PythonInterpreter.icns diff --git a/Mac/Resources/framework/Info.plist.in b/Platforms/Mac/Resources/framework/Info.plist.in similarity index 100% rename from Mac/Resources/framework/Info.plist.in rename to Platforms/Mac/Resources/framework/Info.plist.in diff --git a/Mac/Resources/iconsrc/IDE.psd b/Platforms/Mac/Resources/iconsrc/IDE.psd similarity index 100% rename from Mac/Resources/iconsrc/IDE.psd rename to Platforms/Mac/Resources/iconsrc/IDE.psd diff --git a/Mac/Resources/iconsrc/PackageManager.psd b/Platforms/Mac/Resources/iconsrc/PackageManager.psd similarity index 100% rename from Mac/Resources/iconsrc/PackageManager.psd rename to Platforms/Mac/Resources/iconsrc/PackageManager.psd diff --git a/Mac/Resources/iconsrc/PythonApplet.psd b/Platforms/Mac/Resources/iconsrc/PythonApplet.psd similarity index 100% rename from Mac/Resources/iconsrc/PythonApplet.psd rename to Platforms/Mac/Resources/iconsrc/PythonApplet.psd diff --git a/Mac/Resources/iconsrc/PythonCompiled.psd b/Platforms/Mac/Resources/iconsrc/PythonCompiled.psd similarity index 100% rename from Mac/Resources/iconsrc/PythonCompiled.psd rename to Platforms/Mac/Resources/iconsrc/PythonCompiled.psd diff --git a/Mac/Resources/iconsrc/PythonIcon.psd b/Platforms/Mac/Resources/iconsrc/PythonIcon.psd similarity index 100% rename from Mac/Resources/iconsrc/PythonIcon.psd rename to Platforms/Mac/Resources/iconsrc/PythonIcon.psd diff --git a/Mac/Resources/iconsrc/PythonSource.psd b/Platforms/Mac/Resources/iconsrc/PythonSource.psd similarity index 100% rename from Mac/Resources/iconsrc/PythonSource.psd rename to Platforms/Mac/Resources/iconsrc/PythonSource.psd diff --git a/Mac/Resources/iconsrc/PythonWSource.psd b/Platforms/Mac/Resources/iconsrc/PythonWSource.psd similarity index 100% rename from Mac/Resources/iconsrc/PythonWSource.psd rename to Platforms/Mac/Resources/iconsrc/PythonWSource.psd diff --git a/Mac/Tools/plistlib_generate_testdata.py b/Platforms/Mac/Tools/plistlib_generate_testdata.py similarity index 100% rename from Mac/Tools/plistlib_generate_testdata.py rename to Platforms/Mac/Tools/plistlib_generate_testdata.py diff --git a/Mac/Tools/pythonw.c b/Platforms/Mac/Tools/pythonw.c similarity index 100% rename from Mac/Tools/pythonw.c rename to Platforms/Mac/Tools/pythonw.c From 8abf059d70e79f7dd51bf75c134c2a64ce810b6c Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Tue, 3 Mar 2026 05:57:09 -0600 Subject: [PATCH 2/2] Replace Mac/ with Platforms/Mac/ --- Doc/using/configure.rst | 2 +- Doc/using/ios.rst | 2 +- Doc/using/mac.rst | 2 +- Lib/test/test_os/test_posix.py | 2 +- Lib/test/test_plistlib.py | 2 +- Lib/test/test_time.py | 2 +- Makefile.pre.in | 4 +-- Platforms/Mac/BuildScript/build-installer.py | 9 ++--- Platforms/Mac/Makefile.in | 2 +- Platforms/Mac/README.rst | 2 +- README.rst | 4 +-- configure | 36 ++++++++++---------- configure.ac | 26 +++++++------- 13 files changed, 48 insertions(+), 47 deletions(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 813127663ed8fe..e031c6156f4a10 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -1147,7 +1147,7 @@ Security Options macOS Options ------------- -See :source:`Mac/README.rst`. +See :source:`Platforms/Mac/README.rst`. .. option:: --enable-universalsdk .. option:: --enable-universalsdk=SDKDIR diff --git a/Doc/using/ios.rst b/Doc/using/ios.rst index 5e4033fb6cec7a..715b470deb8153 100644 --- a/Doc/using/ios.rst +++ b/Doc/using/ios.rst @@ -341,7 +341,7 @@ review rules cannot be challenged; so, it is necessary to modify the Python standard library for an app to pass App Store review. The Python source tree contains -:source:`a patch file ` that will remove +:source:`a patch file ` that will remove all code that is known to cause issues with the App Store review process. This patch is applied automatically when building for iOS. diff --git a/Doc/using/mac.rst b/Doc/using/mac.rst index 6cf945de5b3f3b..08e52b38fb0f3e 100644 --- a/Doc/using/mac.rst +++ b/Doc/using/mac.rst @@ -455,7 +455,7 @@ review rules cannot be challenged. Therefore, it is necessary to modify the Python standard library for an app to pass App Store review. The Python source tree contains -:source:`a patch file ` that will remove +:source:`a patch file ` that will remove all code that is known to cause issues with the App Store review process. This patch is applied automatically when CPython is configured with the :option:`--with-app-store-compliance` option. diff --git a/Lib/test/test_os/test_posix.py b/Lib/test/test_os/test_posix.py index 0e8495a4eff2ed..412287cb3bf4db 100644 --- a/Lib/test/test_os/test_posix.py +++ b/Lib/test/test_os/test_posix.py @@ -2322,7 +2322,7 @@ class TestPosixWeaklinking(unittest.TestCase): # as expected. These cases only test new behaviour introduced by weak linking, # regular behaviour is tested by the normal test cases. # - # See the section on Weak Linking in Mac/README.txt for more information. + # See the section on Weak Linking in Platforms/Mac/README.txt for more information. def setUp(self): import sysconfig import platform diff --git a/Lib/test/test_plistlib.py b/Lib/test/test_plistlib.py index d9216be4d95658..bc57d9c8e43ddd 100644 --- a/Lib/test/test_plistlib.py +++ b/Lib/test/test_plistlib.py @@ -22,7 +22,7 @@ ALL_FORMATS=(plistlib.FMT_XML, plistlib.FMT_BINARY) -# The testdata is generated using Mac/Tools/plistlib_generate_testdata.py +# The testdata is generated using Platforms/Mac/Tools/plistlib_generate_testdata.py # (which using PyObjC to control the Cocoa classes for generating plists) TESTDATA={ plistlib.FMT_XML: binascii.a2b_base64(b''' diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index da5fd16b8b6291..c027ee8d80c472 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -1198,7 +1198,7 @@ class TestTimeWeaklinking(unittest.TestCase): # as expected. These cases only test new behaviour introduced by weak linking, # regular behaviour is tested by the normal test cases. # - # See the section on Weak Linking in Mac/README.txt for more information. + # See the section on Weak Linking in Platforms/Mac/README.txt for more information. def test_clock_functions(self): import sysconfig import platform diff --git a/Makefile.pre.in b/Makefile.pre.in index 120a6add38507f..ca0bd75a5a5891 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -2469,7 +2469,7 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORKPYTHONW@ if test "$(PYTHONFRAMEWORKDIR)" = "no-framework" ; then \ $(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/python$(LDVERSION)$(EXE); \ else \ - $(INSTALL_PROGRAM) $(STRIPFLAG) Mac/pythonw $(DESTDIR)$(BINDIR)/python$(LDVERSION)$(EXE); \ + $(INSTALL_PROGRAM) $(STRIPFLAG) Platforms/Mac/pythonw $(DESTDIR)$(BINDIR)/python$(LDVERSION)$(EXE); \ fi -if test "$(VERSION)" != "$(LDVERSION)"; then \ if test -f $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE) -o -h $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \ @@ -3102,7 +3102,7 @@ frameworkinstallunversionedstructure: $(LDLIBRARY) $(INSTALL) -m $(EXEMODE) $$file $(DESTDIR)$(BINDIR); \ done -# This installs Mac/Lib into the framework +# This installs Platforms/Mac/Lib into the framework # Install a number of symlinks to keep software that expects a normal unix # install (which includes python-config) happy. .PHONY: frameworkinstallmaclib diff --git a/Platforms/Mac/BuildScript/build-installer.py b/Platforms/Mac/BuildScript/build-installer.py index cd5f4c71b005ed..c36c487568ab07 100755 --- a/Platforms/Mac/BuildScript/build-installer.py +++ b/Platforms/Mac/BuildScript/build-installer.py @@ -144,12 +144,13 @@ def getFullVersion(): ARCHLIST = universal_opts_map[UNIVERSALARCHS] -# Source directory (assume we're in Mac/BuildScript) +# Source directory (assume we're in Platforms/Mac/BuildScript) SRCDIR = os.path.dirname( - os.path.dirname( + os.path.dirname( os.path.dirname( - os.path.abspath(__file__ - )))) + os.path.dirname( + os.path.abspath(__file__ + ))))) # $MACOSX_DEPLOYMENT_TARGET -> minimum OS X level DEPTARGET = '10.5' diff --git a/Platforms/Mac/Makefile.in b/Platforms/Mac/Makefile.in index 32e3a0f55c5d71..2e93fa6d0ccd5c 100644 --- a/Platforms/Mac/Makefile.in +++ b/Platforms/Mac/Makefile.in @@ -273,4 +273,4 @@ clean: cd PythonLauncher && make clean Makefile: $(srcdir)/Makefile.in ../config.status - cd .. && CONFIG_FILES=Mac/Makefile CONFIG_HEADERS= $(SHELL) ./config.status + cd .. && CONFIG_FILES=Platforms/Mac/Makefile CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/Platforms/Mac/README.rst b/Platforms/Mac/README.rst index 8a6e52725615aa..265a66046a1bd1 100644 --- a/Platforms/Mac/README.rst +++ b/Platforms/Mac/README.rst @@ -317,7 +317,7 @@ How do I create a binary distribution? ====================================== Download and unpack the source release from https://www.python.org/download/. -Go to the directory ``Mac/BuildScript``. There you will find a script +Go to the directory ``Platofmrs/Mac/BuildScript``. There you will find a script ``build-installer.py`` that does all the work. This will download and build a number of 3rd-party libraries, configures and builds a framework Python, installs it, creates the installer package files and then packs this in a diff --git a/README.rst b/README.rst index 68e114e66abe43..6d5ab5869e5070 100644 --- a/README.rst +++ b/README.rst @@ -70,8 +70,8 @@ section of the `Developer Guide`_ for current detailed information on dependencies for various Linux distributions and macOS. On macOS, there are additional configure and build options related -to macOS framework and universal builds. Refer to `Mac/README.rst -`_. +to macOS framework and universal builds. Refer to `Platforms/Mac/README.rst +`_. On Windows, see `PCbuild/readme.txt `_. diff --git a/configure b/configure index eca5f03cdcfb2d..84e38774a1bfd7 100755 --- a/configure +++ b/configure @@ -1821,12 +1821,12 @@ Optional Features: --enable-universalsdk[=SDKDIR] create a universal binary build. SDKDIR specifies which macOS SDK should be used to perform the build, - see Mac/README.rst. (default is no) + see Platforms/Mac/README.rst. (default is no) --enable-framework[=INSTALLDIR] create a Python.framework rather than a traditional Unix install. optional INSTALLDIR specifies the - installation path. see Mac/README.rst (default is - no) + installation path. see Platforms/Mac/README.rst + (default is no) --enable-wasm-dynamic-linking Enable dynamic linking support for WebAssembly (default is no); WASI requires an external dynamic @@ -1879,11 +1879,11 @@ Optional Packages: --enable-universalsdk is set; options are: ("universal2", "intel-64", "intel-32", "intel", "32-bit", "64-bit", "3-way", or "all") see - Mac/README.rst + Platforms/Mac/README.rst --with-framework-name=FRAMEWORK specify the name for the python framework on macOS only valid when --enable-framework is set. see - Mac/README.rst (default is 'Python') + Platforms/Mac/README.rst (default is 'Python') --with-app-store-compliance=[PATCH-FILE] Enable any patches required for compiliance with app stores. Optional PATCH-FILE specifies the custom @@ -4278,7 +4278,7 @@ then : enableval=$enable_universalsdk; case $enableval in yes) - # Locate the best usable SDK, see Mac/README for more + # Locate the best usable SDK, see Platforms/Mac/README for more # information enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`" if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null ) @@ -4477,17 +4477,17 @@ then : prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION PYTHONFRAMEWORKINSTALLNAMEPREFIX=${prefix} - RESSRCDIR=Mac/Resources/framework + RESSRCDIR=Platforms/Mac/Resources/framework # Add files for Mac specific code to the list of output # files: - ac_config_files="$ac_config_files Mac/Makefile" + ac_config_files="$ac_config_files Platforms/Mac/Makefile" - ac_config_files="$ac_config_files Mac/PythonLauncher/Makefile" + ac_config_files="$ac_config_files Platforms/Mac/PythonLauncher/Makefile" - ac_config_files="$ac_config_files Mac/Resources/framework/Info.plist" + ac_config_files="$ac_config_files Platforms/Mac/Resources/framework/Info.plist" - ac_config_files="$ac_config_files Mac/Resources/app/Info.plist" + ac_config_files="$ac_config_files Platforms/Mac/Resources/app/Info.plist" ;; iOS) : @@ -4571,7 +4571,7 @@ then : case $ac_sys_system in Darwin|iOS) # iOS is able to share the macOS patch - APP_STORE_COMPLIANCE_PATCH="Mac/Resources/app-store-compliance.patch" + APP_STORE_COMPLIANCE_PATCH="Platforms/Mac/Resources/app-store-compliance.patch" ;; *) as_fn_error $? "no default app store compliance patch available for $ac_sys_system" "$LINENO" 5 ;; esac @@ -4590,7 +4590,7 @@ else case e in #( case $ac_sys_system in iOS) # Always apply the compliance patch on iOS; we can use the macOS patch - APP_STORE_COMPLIANCE_PATCH="Mac/Resources/app-store-compliance.patch" + APP_STORE_COMPLIANCE_PATCH="Platforms/Mac/Resources/app-store-compliance.patch" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: applying default app store compliance patch" >&5 printf "%s\n" "applying default app store compliance patch" >&6; } ;; @@ -4903,7 +4903,7 @@ printf %s "checking macOS SDKROOT... " >&6; } printf "%s\n" "$SDKROOT" >&6; } # Compiler selection on MacOSX is more complicated than - # AC_PROG_CC can handle, see Mac/README for more + # AC_PROG_CC can handle, see Platforms/Mac/README for more # information if test -z "${CC}" then @@ -35577,10 +35577,10 @@ for ac_config_target in $ac_config_targets do case $ac_config_target in "pyconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS pyconfig.h" ;; - "Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/Makefile" ;; - "Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/PythonLauncher/Makefile" ;; - "Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/framework/Info.plist" ;; - "Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/app/Info.plist" ;; + "Platforms/Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Platforms/Mac/Makefile" ;; + "Platforms/Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Platforms/Mac/PythonLauncher/Makefile" ;; + "Platforms/Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Platforms/Mac/Resources/framework/Info.plist" ;; + "Platforms/Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Platforms/Mac/Resources/app/Info.plist" ;; "Apple/iOS/Resources/Info.plist") CONFIG_FILES="$CONFIG_FILES Apple/iOS/Resources/Info.plist" ;; "Makefile.pre") CONFIG_FILES="$CONFIG_FILES Makefile.pre" ;; "Misc/python.pc") CONFIG_FILES="$CONFIG_FILES Misc/python.pc" ;; diff --git a/configure.ac b/configure.ac index c21024a1e77433..6d2aaf322607f0 100644 --- a/configure.ac +++ b/configure.ac @@ -462,11 +462,11 @@ AC_ARG_ENABLE([universalsdk], AS_HELP_STRING([--enable-universalsdk@<:@=SDKDIR@:>@], [create a universal binary build. SDKDIR specifies which macOS SDK should be used to perform the build, - see Mac/README.rst. (default is no)]), + see Platforms/Mac/README.rst. (default is no)]), [ case $enableval in yes) - # Locate the best usable SDK, see Mac/README for more + # Locate the best usable SDK, see Platforms/Mac/README for more # information enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`" if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null ) @@ -531,7 +531,7 @@ AC_ARG_WITH([universal-archs], This option is only valid when --enable-universalsdk is set; options are: ("universal2", "intel-64", "intel-32", "intel", "32-bit", "64-bit", "3-way", or "all") - see Mac/README.rst]), + see Platforms/Mac/README.rst]), [ UNIVERSAL_ARCHS="$withval" ], @@ -546,7 +546,7 @@ fi AC_ARG_WITH([framework-name], AS_HELP_STRING([--with-framework-name=FRAMEWORK], [specify the name for the python framework on macOS - only valid when --enable-framework is set. see Mac/README.rst + only valid when --enable-framework is set. see Platforms/Mac/README.rst (default is 'Python')]), [ PYTHONFRAMEWORK=${withval} @@ -561,7 +561,7 @@ dnl quadrigraphs "@<:@" and "@:>@" produce "[" and "]" in the output AC_ARG_ENABLE([framework], AS_HELP_STRING([--enable-framework@<:@=INSTALLDIR@:>@], [create a Python.framework rather than a traditional Unix install. - optional INSTALLDIR specifies the installation path. see Mac/README.rst + optional INSTALLDIR specifies the installation path. see Platforms/Mac/README.rst (default is no)]), [ case $enableval in @@ -656,14 +656,14 @@ AC_ARG_ENABLE([framework], prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION PYTHONFRAMEWORKINSTALLNAMEPREFIX=${prefix} - RESSRCDIR=Mac/Resources/framework + RESSRCDIR=Platforms/Mac/Resources/framework # Add files for Mac specific code to the list of output # files: - AC_CONFIG_FILES([Mac/Makefile]) - AC_CONFIG_FILES([Mac/PythonLauncher/Makefile]) - AC_CONFIG_FILES([Mac/Resources/framework/Info.plist]) - AC_CONFIG_FILES([Mac/Resources/app/Info.plist]) + AC_CONFIG_FILES([Platforms/Mac/Makefile]) + AC_CONFIG_FILES([Platforms/Mac/PythonLauncher/Makefile]) + AC_CONFIG_FILES([Platforms/Mac/Resources/framework/Info.plist]) + AC_CONFIG_FILES([Platforms/Mac/Resources/app/Info.plist]) ;; iOS) : FRAMEWORKINSTALLFIRST="frameworkinstallunversionedstructure" @@ -741,7 +741,7 @@ AC_ARG_WITH( case $ac_sys_system in Darwin|iOS) # iOS is able to share the macOS patch - APP_STORE_COMPLIANCE_PATCH="Mac/Resources/app-store-compliance.patch" + APP_STORE_COMPLIANCE_PATCH="Platforms/Mac/Resources/app-store-compliance.patch" ;; *) AC_MSG_ERROR([no default app store compliance patch available for $ac_sys_system]) ;; esac @@ -756,7 +756,7 @@ AC_ARG_WITH( case $ac_sys_system in iOS) # Always apply the compliance patch on iOS; we can use the macOS patch - APP_STORE_COMPLIANCE_PATCH="Mac/Resources/app-store-compliance.patch" + APP_STORE_COMPLIANCE_PATCH="Platforms/Mac/Resources/app-store-compliance.patch" AC_MSG_RESULT([applying default app store compliance patch]) ;; *) @@ -1014,7 +1014,7 @@ then AC_MSG_RESULT([$SDKROOT]) # Compiler selection on MacOSX is more complicated than - # AC_PROG_CC can handle, see Mac/README for more + # AC_PROG_CC can handle, see Platforms/Mac/README for more # information if test -z "${CC}" then