[Python-checkins] r77030 - python/trunk/Mac/BuildScript/build-installer.py

ronald.oussoren python-checkins at python.org
Thu Dec 24 14:30:42 CET 2009


Author: ronald.oussoren
Date: Thu Dec 24 14:30:42 2009
New Revision: 77030

Log:
An update to the script that's used to build the binary installer: don't install files in 
/usr/local by default. Users can still choose to install files into /usr/local, but by 
default we'll only install files in /Library/Framework/Python.framework and 
/Applications/Python X.Y/


Modified:
   python/trunk/Mac/BuildScript/build-installer.py

Modified: python/trunk/Mac/BuildScript/build-installer.py
==============================================================================
--- python/trunk/Mac/BuildScript/build-installer.py	(original)
+++ python/trunk/Mac/BuildScript/build-installer.py	Thu Dec 24 14:30:42 2009
@@ -249,6 +249,7 @@
                 wrappers for lots of Mac OS X API's.
             """,
             postflight="scripts/postflight.framework",
+            selected='selected',
         ),
         dict(
             name="PythonApplications",
@@ -262,6 +263,7 @@
                 It also installs a number of examples and demos.
                 """,
             required=False,
+            selected='selected',
         ),
         dict(
             name="PythonUnixTools",
@@ -273,6 +275,7 @@
                 is not necessary to use Python.
                 """,
             required=False,
+            selected='unselected',
         ),
         dict(
             name="PythonDocumentation",
@@ -287,6 +290,7 @@
                 """,
             postflight="scripts/postflight.documentation",
             required=False,
+            selected='selected',
         ),
         dict(
             name="PythonProfileChanges",
@@ -304,6 +308,7 @@
             topdir="/Library/Frameworks/Python.framework",
             source="/empty-dir",
             required=False,
+            selected='selected',
         ),
     ]
 
@@ -321,6 +326,7 @@
                 topdir="/Library/Frameworks/Python.framework",
                 source="/empty-dir",
                 required=False,
+                selected='selected',
             )
         )
     return result
@@ -923,7 +929,7 @@
             IFPkgFlagPackageList=[
                 dict(
                     IFPkgFlagPackageLocation='%s-%s.pkg'%(item['name'], getVersion()),
-                    IFPkgFlagPackageSelection='selected'
+                    IFPkgFlagPackageSelection=item.get('selected', 'selected'),
                 )
                 for item in pkg_recipes()
             ],


More information about the Python-checkins mailing list