]> granicus.if.org Git - python/commitdiff
Merged revisions 70802 via svnmerge from
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 31 Mar 2009 13:25:17 +0000 (13:25 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Tue, 31 Mar 2009 13:25:17 +0000 (13:25 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70802 | ronald.oussoren | 2009-03-31 08:20:45 -0500 (Tue, 31 Mar 2009) | 4 lines

  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.
........

Mac/BuildScript/build-installer.py

index ea56ab0edfe0c1bb33df9f538b644cf524ef29d1..763eaf652736a48fd44d27e80a2a0011c7660595 100755 (executable)
@@ -1020,7 +1020,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)