Skip to content

Commit f76d1a0

Browse files
authored
Mac installer build now needs venv for docs build (#2828) (#2830)
(cherry picked from commit 4c7532e)
1 parent 5aa3bf0 commit f76d1a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Mac/BuildScript/build-installer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,10 +1088,10 @@ def buildPythonDocs():
10881088
docdir = os.path.join(rootDir, 'pydocs')
10891089
curDir = os.getcwd()
10901090
os.chdir(buildDir)
1091-
# The Doc build changed for 3.4 (technically, for 3.4.1) and for 2.7.9
10921091
runCommand('make clean')
1093-
# Assume sphinx-build is on our PATH, checked in checkEnvironment
1094-
runCommand('make html')
1092+
# Create virtual environment for docs builds with blurb and sphinx
1093+
runCommand('make venv')
1094+
runCommand('make html PYTHON=venv/bin/python')
10951095
os.chdir(curDir)
10961096
if not os.path.exists(docdir):
10971097
os.mkdir(docdir)

0 commit comments

Comments
 (0)