summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2017-07-23 20:39:54 (GMT)
committerGitHub <noreply@github.com>2017-07-23 20:39:54 (GMT)
commit4c7532e96da19f2d5543bdab2b972797699c37d5 (patch)
treee8514fca0850a2f0a3bfc073351b1e8c618534fa /Mac
parent07ba305a4c169e017e076e490a173a6f9b95b38e (diff)
downloadcpython-4c7532e96da19f2d5543bdab2b972797699c37d5.zip
cpython-4c7532e96da19f2d5543bdab2b972797699c37d5.tar.gz
cpython-4c7532e96da19f2d5543bdab2b972797699c37d5.tar.bz2
Mac installer build now needs venv for docs build (#2828)
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/BuildScript/build-installer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 7b4376f..7ffa367 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -1089,10 +1089,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) and for 2.7.9
runCommand('make clean')
- # Assume sphinx-build is on our PATH, checked in checkEnvironment
- runCommand('make html')
+ # Create virtual environment for docs builds with blurb and sphinx
+ runCommand('make venv')
+ runCommand('make html PYTHON=venv/bin/python')
os.chdir(curDir)
if not os.path.exists(docdir):
os.mkdir(docdir)