summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-03-31 13:25:17 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-03-31 13:25:17 (GMT)
commit6bf6367b6725dd6fd2d7d07a447117d72b31c40e (patch)
tree41da88a1747b9bde0ff095163bc1fd082c29d4fa /Mac/BuildScript
parentab6f2f6eb680c40750f05de4bc7cf8964b733b74 (diff)
downloadcpython-6bf6367b6725dd6fd2d7d07a447117d72b31c40e.zip
cpython-6bf6367b6725dd6fd2d7d07a447117d72b31c40e.tar.gz
cpython-6bf6367b6725dd6fd2d7d07a447117d72b31c40e.tar.bz2
Merged revisions 70802 via svnmerge from
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. ........
Diffstat (limited to 'Mac/BuildScript')
-rwxr-xr-xMac/BuildScript/build-installer.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index ea56ab0..763eaf6 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -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)