[Python-checkins] cpython (merge 3.4 -> default): Keep Mac/build-installer.py in sync across branches (affects 2.7 only).
ned.deily
python-checkins at python.org
Sat Sep 6 00:58:39 CEST 2014
http://hg.python.org/cpython/rev/7fe96ffb2dc6
changeset: 92359:7fe96ffb2dc6
parent: 92354:060e347c9a23
parent: 92358:b424d9679308
user: Ned Deily <nad at acm.org>
date: Fri Sep 05 15:57:54 2014 -0700
summary:
Keep Mac/build-installer.py in sync across branches (affects 2.7 only).
files:
Mac/BuildScript/build-installer.py | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -615,8 +615,7 @@
# 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 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list