summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2018-03-28 07:44:48 (GMT)
committerGitHub <noreply@github.com>2018-03-28 07:44:48 (GMT)
commitdf532ab752680f6e359672c2cd40bec8ac848628 (patch)
tree74b4b3a9560c9d47241f01014ceb440515a6d389 /Mac
parente52ac045972a4f75d7f52e4ee0d6de128259134d (diff)
downloadcpython-df532ab752680f6e359672c2cd40bec8ac848628.zip
cpython-df532ab752680f6e359672c2cd40bec8ac848628.tar.gz
cpython-df532ab752680f6e359672c2cd40bec8ac848628.tar.bz2
bpo-32726: Do not force IDLE.app to launch in 32-bit mode. (GH-6279)
Forcing the macOS IDLE.app gui process to launch in 32-mode was a necessary hack for old versions of Tk (Aqua Carbon as in Tk 8.4 and early versions of 8.5); it is not needed for current versions of Tk. Since 32-bit launching will no longer be supported on future releases of macOS, allow IDLE.app to launch in 64-bit mode.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Makefile.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/Mac/Makefile.in b/Mac/Makefile.in
index 1255b13..95fd4a2 100644
--- a/Mac/Makefile.in
+++ b/Mac/Makefile.in
@@ -221,10 +221,6 @@ install_IDLE:
-test -d "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" && rm -rf "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
/bin/cp -PR "$(srcdir)/IDLE/IDLE.app" "$(DESTDIR)$(PYTHONAPPSDIR)"
ln -sf "$(INSTALLED_PYTHONAPP)" "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python"
-ifneq ($(LIPO_32BIT_FLAGS),)
- rm "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python"
- lipo $(LIPO_32BIT_FLAGS) -output "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python" "$(BUILDPYTHON)"
-endif
sed -e "s!%prefix%!$(prefix)!g" -e 's!%exe%!$(PYTHONFRAMEWORK)!g' < "$(srcdir)/IDLE/IDLE.app/Contents/MacOS/IDLE" > "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/IDLE"
sed "s!%version%!`$(RUNSHARED) $(BUILDPYTHON) -c 'import platform; print(platform.python_version())'`!g" < "$(srcdir)/IDLE/IDLE.app/Contents/Info.plist" > "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/Info.plist"
if [ -f "$(DESTDIR)$(LIBDEST)/idlelib/config-main.def" ]; then \