Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bf6367

Browse files
Merged revisions 70802 via svnmerge from
svn+ssh://[email protected]/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. ........
1 parent ab6f2f6 commit 6bf6367

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Mac/BuildScript/build-installer.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,18 @@ def main():
10201020

10211021
# Now build python itself
10221022
buildPython()
1023+
1024+
# And then build the documentation
1025+
# Remove the Deployment Target from the shell
1026+
# environment, it's no longer needed and
1027+
# an unexpected build target can cause problems
1028+
# when Sphinx and its dependencies need to
1029+
# be (re-)installed.
1030+
del os.environ['MACOSX_DEPLOYMENT_TARGET']
10231031
buildPythonDocs()
1032+
1033+
1034+
# Prepare the applications folder
10241035
fn = os.path.join(WORKDIR, "_root", "Applications",
10251036
"Python %s"%(getVersion(),), "Update Shell Profile.command")
10261037
patchScript("scripts/postflight.patch-profile", fn)

0 commit comments

Comments
 (0)