Commit e392b357 authored by Ronald Oussoren's avatar Ronald Oussoren

Minor update to OSX build-installer script, needed

to ensure that the build will succeed in a clean
checkout and with a non-default deployment target.
parent 1c157ea9
...@@ -1018,7 +1018,18 @@ def main(): ...@@ -1018,7 +1018,18 @@ def main():
# Now build python itself # Now build python itself
buildPython() buildPython()
# And then build the documentation
# Remove the Deployment Target from the shell
# environment, it's no longer needed and
# an unexpected build target can cause problems
# when Sphinx and its dependencies need to
# be (re-)installed.
del os.environ['MACOSX_DEPLOYMENT_TARGET']
buildPythonDocs() buildPythonDocs()
# Prepare the applications folder
fn = os.path.join(WORKDIR, "_root", "Applications", fn = os.path.join(WORKDIR, "_root", "Applications",
"Python %s"%(getVersion(),), "Update Shell Profile.command") "Python %s"%(getVersion(),), "Update Shell Profile.command")
patchScript("scripts/postflight.patch-profile", fn) patchScript("scripts/postflight.patch-profile", fn)
......
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