diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-03-31 13:20:45 +0000 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-03-31 13:20:45 +0000 |
commit | 530ad551fec2048b3cc6402b82290c4c435512b8 (patch) | |
tree | 9144bae9de1b6c8e52e10b45941ce8b655311c98 /Mac | |
parent | dc05329346c0d18fcd9fe73654a1d2af81d2dde7 (diff) | |
download | cpython-530ad551fec2048b3cc6402b82290c4c435512b8.tar.gz |
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.
Diffstat (limited to 'Mac')
-rwxr-xr-x | Mac/BuildScript/build-installer.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index d5da074cb4..8d85434d1d 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -1018,7 +1018,18 @@ def main(): # Now build python itself 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() + + + # Prepare the applications folder fn = os.path.join(WORKDIR, "_root", "Applications", "Python %s"%(getVersion(),), "Update Shell Profile.command") patchScript("scripts/postflight.patch-profile", fn) |