diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-12-24 13:30:42 +0000 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-12-24 13:30:42 +0000 |
commit | 3811226d1c6f33214723c1936d68abd2df83fb9f (patch) | |
tree | f19590bcc1a1c681a116b7fda659e68659bb9c2d /Mac | |
parent | d8a691a651152566319cdc4b634bffc594477d81 (diff) | |
download | cpython-3811226d1c6f33214723c1936d68abd2df83fb9f.tar.gz |
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/
Diffstat (limited to 'Mac')
-rwxr-xr-x | Mac/BuildScript/build-installer.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index 740e45ebb6..dbb968e4e7 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -249,6 +249,7 @@ def pkg_recipes(): wrappers for lots of Mac OS X API's. """, postflight="scripts/postflight.framework", + selected='selected', ), dict( name="PythonApplications", @@ -262,6 +263,7 @@ def pkg_recipes(): It also installs a number of examples and demos. """, required=False, + selected='selected', ), dict( name="PythonUnixTools", @@ -273,6 +275,7 @@ def pkg_recipes(): is not necessary to use Python. """, required=False, + selected='unselected', ), dict( name="PythonDocumentation", @@ -287,6 +290,7 @@ def pkg_recipes(): """, postflight="scripts/postflight.documentation", required=False, + selected='selected', ), dict( name="PythonProfileChanges", @@ -304,6 +308,7 @@ def pkg_recipes(): topdir="/Library/Frameworks/Python.framework", source="/empty-dir", required=False, + selected='selected', ), ] @@ -321,6 +326,7 @@ def pkg_recipes(): topdir="/Library/Frameworks/Python.framework", source="/empty-dir", required=False, + selected='selected', ) ) return result @@ -923,7 +929,7 @@ def makeMpkgPlist(path): IFPkgFlagPackageList=[ dict( IFPkgFlagPackageLocation='%s-%s.pkg'%(item['name'], getVersion()), - IFPkgFlagPackageSelection='selected' + IFPkgFlagPackageSelection=item.get('selected', 'selected'), ) for item in pkg_recipes() ], |