Skip to content

Commit 4c7532e

Browse files
authored
Mac installer build now needs venv for docs build (#2828)
1 parent 07ba305 commit 4c7532e

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
@@ -1089,10 +1089,10 @@ def buildPythonDocs():
10891089
docdir = os.path.join(rootDir, 'pydocs')
10901090
curDir = os.getcwd()
10911091
os.chdir(buildDir)
1092-
# The Doc build changed for 3.4 (technically, for 3.4.1) and for 2.7.9
10931092
runCommand('make clean')
1094-
# Assume sphinx-build is on our PATH, checked in checkEnvironment
1095-
runCommand('make html')
1093+
# Create virtual environment for docs builds with blurb and sphinx
1094+
runCommand('make venv')
1095+
runCommand('make html PYTHON=venv/bin/python')
10961096
os.chdir(curDir)
10971097
if not os.path.exists(docdir):
10981098
os.mkdir(docdir)

0 commit comments

Comments
 (0)