diff options
| author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-03-31 13:20:45 (GMT) | 
|---|---|---|
| committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-03-31 13:20:45 (GMT) | 
| commit | e392b357e9ded42130b7f2d32992dfe7778b801c (patch) | |
| tree | 5063b7f4ad3555bf605ba1109e71a77bcd7b29ca | |
| parent | 1c157ea984afd94ea3aa9ceeaf14e4de7b0583b4 (diff) | |
| download | cpython-e392b357e9ded42130b7f2d32992dfe7778b801c.zip cpython-e392b357e9ded42130b7f2d32992dfe7778b801c.tar.gz cpython-e392b357e9ded42130b7f2d32992dfe7778b801c.tar.bz2  | |
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.
| -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 d5da074..8d85434 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)  | 
