Keep Mac/build-installer.py in sync across branches (affects 2.7 only).

This commit is contained in:
Ned Deily 2014-09-05 15:57:05 -07:00
parent 848c8b29f6
commit 1ff32a9169
1 changed files with 5 additions and 11 deletions

View File

@ -615,7 +615,6 @@ def checkEnvironment():
# Ensure ws have access to hg and to sphinx-build.
# You may have to create links in /usr/bin for them.
runCommand('hg --version')
if getVersionTuple() >= (3, 4):
runCommand('sphinx-build --version')
def parseOptions(args=None):
@ -929,12 +928,7 @@ def buildPythonDocs():
docdir = os.path.join(rootDir, 'pydocs')
curDir = os.getcwd()
os.chdir(buildDir)
# The Doc build changed for 3.4 (technically, for 3.4.1)
if getVersionTuple() < (3, 4):
# This step does an svn checkout of sphinx and its dependencies
runCommand('make update')
runCommand("make html PYTHON='%s'" % os.path.abspath(sys.executable))
else:
# The Doc build changed for 3.4 (technically, for 3.4.1) and for 2.7.9
runCommand('make clean')
# Assume sphinx-build is on our PATH, checked in checkEnvironment
runCommand('make html')