Kaydet (Commit) 1a13cff7 authored tarafından Ronald Oussoren's avatar Ronald Oussoren

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/
üst 728cc611
...@@ -249,6 +249,7 @@ def pkg_recipes(): ...@@ -249,6 +249,7 @@ def pkg_recipes():
wrappers for lots of Mac OS X API's. wrappers for lots of Mac OS X API's.
""", """,
postflight="scripts/postflight.framework", postflight="scripts/postflight.framework",
selected='selected',
), ),
dict( dict(
name="PythonApplications", name="PythonApplications",
...@@ -262,6 +263,7 @@ def pkg_recipes(): ...@@ -262,6 +263,7 @@ def pkg_recipes():
It also installs a number of examples and demos. It also installs a number of examples and demos.
""", """,
required=False, required=False,
selected='selected',
), ),
dict( dict(
name="PythonUnixTools", name="PythonUnixTools",
...@@ -273,6 +275,7 @@ def pkg_recipes(): ...@@ -273,6 +275,7 @@ def pkg_recipes():
is not necessary to use Python. is not necessary to use Python.
""", """,
required=False, required=False,
selected='unselected',
), ),
dict( dict(
name="PythonDocumentation", name="PythonDocumentation",
...@@ -287,6 +290,7 @@ def pkg_recipes(): ...@@ -287,6 +290,7 @@ def pkg_recipes():
""", """,
postflight="scripts/postflight.documentation", postflight="scripts/postflight.documentation",
required=False, required=False,
selected='selected',
), ),
dict( dict(
name="PythonProfileChanges", name="PythonProfileChanges",
...@@ -304,6 +308,7 @@ def pkg_recipes(): ...@@ -304,6 +308,7 @@ def pkg_recipes():
topdir="/Library/Frameworks/Python.framework", topdir="/Library/Frameworks/Python.framework",
source="/empty-dir", source="/empty-dir",
required=False, required=False,
selected='selected',
), ),
] ]
...@@ -321,6 +326,7 @@ def pkg_recipes(): ...@@ -321,6 +326,7 @@ def pkg_recipes():
topdir="/Library/Frameworks/Python.framework", topdir="/Library/Frameworks/Python.framework",
source="/empty-dir", source="/empty-dir",
required=False, required=False,
selected='selected',
) )
) )
return result return result
...@@ -923,7 +929,7 @@ def makeMpkgPlist(path): ...@@ -923,7 +929,7 @@ def makeMpkgPlist(path):
IFPkgFlagPackageList=[ IFPkgFlagPackageList=[
dict( dict(
IFPkgFlagPackageLocation='%s-%s.pkg'%(item['name'], getVersion()), IFPkgFlagPackageLocation='%s-%s.pkg'%(item['name'], getVersion()),
IFPkgFlagPackageSelection='selected' IFPkgFlagPackageSelection=item.get('selected', 'selected'),
) )
for item in pkg_recipes() for item in pkg_recipes()
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment