[Python-checkins] r85742 - python/branches/py3k/Mac/BuildScript/build-installer.py

ronald.oussoren python-checkins at python.org
Wed Oct 20 14:56:56 CEST 2010


Author: ronald.oussoren
Date: Wed Oct 20 14:56:56 2010
New Revision: 85742

Log:
Don't lie about the supported architectures in the OSX installer

Without this patch the i386/x86_64 installer for OSX 10.6
lies in the ReadMe file and the "Important Information" screen
of the installer (that is, the installer claims it supports
the i386 and ppc architectures insetead of the ones it really
supports)


Modified:
   python/branches/py3k/Mac/BuildScript/build-installer.py

Modified: python/branches/py3k/Mac/BuildScript/build-installer.py
==============================================================================
--- python/branches/py3k/Mac/BuildScript/build-installer.py	(original)
+++ python/branches/py3k/Mac/BuildScript/build-installer.py	Wed Oct 20 14:56:56 2010
@@ -866,7 +866,7 @@
     data = data.replace('$FULL_VERSION', getFullVersion())
     data = data.replace('$VERSION', getVersion())
     data = data.replace('$MACOSX_DEPLOYMENT_TARGET', ''.join((DEPTARGET, ' or later')))
-    data = data.replace('$ARCHITECTURES', "i386, ppc")
+    data = data.replace('$ARCHITECTURES', ", ".join(universal_opts_map[UNIVERSALARCHS]))
     data = data.replace('$INSTALL_SIZE', installSize())
 
     # This one is not handy as a template variable


More information about the Python-checkins mailing list