Skip to content

Commit fcfbeb9

Browse files
authored
Mac installer build now needs venv for docs build (#2828) (#2833)
(cherry picked from commit 4c7532e)
1 parent 8b99e2d commit fcfbeb9

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
@@ -1115,10 +1115,10 @@ def buildPythonDocs():
11151115
docdir = os.path.join(rootDir, 'pydocs')
11161116
curDir = os.getcwd()
11171117
os.chdir(buildDir)
1118-
# The Doc build changed for 3.4 (technically, for 3.4.1) and for 2.7.9
11191118
runCommand('make clean')
1120-
# Assume sphinx-build is on our PATH, checked in checkEnvironment
1121-
runCommand('make html')
1119+
# Create virtual environment for docs builds with blurb and sphinx
1120+
runCommand('make venv')
1121+
runCommand('make html PYTHON=venv/bin/python')
11221122
os.chdir(curDir)
11231123
if not os.path.exists(docdir):
11241124
os.mkdir(docdir)

0 commit comments

Comments
 (0)