summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-09-05 22:57:05 (GMT)
committerNed Deily <nad@acm.org>2014-09-05 22:57:05 (GMT)
commit1ff32a916908b0101f00f5caa7d8469638fba541 (patch)
treed02cefe3223594a41ccbf3d58d63e52a69c5ca96 /Mac
parent848c8b29f697a370648a3858a74a5fbd0c305bbd (diff)
downloadcpython-1ff32a916908b0101f00f5caa7d8469638fba541.zip
cpython-1ff32a916908b0101f00f5caa7d8469638fba541.tar.gz
cpython-1ff32a916908b0101f00f5caa7d8469638fba541.tar.bz2
Keep Mac/build-installer.py in sync across branches (affects 2.7 only).
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/BuildScript/build-installer.py16
1 files changed, 5 insertions, 11 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 199b560..710e84d 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -615,8 +615,7 @@ 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')
+ runCommand('sphinx-build --version')
def parseOptions(args=None):
"""
@@ -929,15 +928,10 @@ 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:
- runCommand('make clean')
- # Assume sphinx-build is on our PATH, checked in checkEnvironment
- runCommand('make html')
+ # 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')
os.chdir(curDir)
if not os.path.exists(docdir):
os.mkdir(docdir)