[Python-checkins] r70802 - python/trunk/Mac/BuildScript/build-installer.py

ronald.oussoren python-checkins at python.org
Tue Mar 31 15:20:45 CEST 2009


Author: ronald.oussoren
Date: Tue Mar 31 15:20:45 2009
New Revision: 70802

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


Modified:
   python/trunk/Mac/BuildScript/build-installer.py

Modified: python/trunk/Mac/BuildScript/build-installer.py
==============================================================================
--- python/trunk/Mac/BuildScript/build-installer.py	(original)
+++ python/trunk/Mac/BuildScript/build-installer.py	Tue Mar 31 15:20:45 2009
@@ -1018,7 +1018,18 @@
 
     # 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)


More information about the Python-checkins mailing list