Mac installer build now needs venv for docs build (#2828)

This commit is contained in:
Ned Deily 2017-07-23 16:39:54 -04:00 committed by GitHub
parent 07ba305a4c
commit 4c7532e96d
1 changed files with 3 additions and 3 deletions

View File

@ -1089,10 +1089,10 @@ def buildPythonDocs():
docdir = os.path.join(rootDir, 'pydocs') docdir = os.path.join(rootDir, 'pydocs')
curDir = os.getcwd() curDir = os.getcwd()
os.chdir(buildDir) os.chdir(buildDir)
# The Doc build changed for 3.4 (technically, for 3.4.1) and for 2.7.9
runCommand('make clean') runCommand('make clean')
# Assume sphinx-build is on our PATH, checked in checkEnvironment # Create virtual environment for docs builds with blurb and sphinx
runCommand('make html') runCommand('make venv')
runCommand('make html PYTHON=venv/bin/python')
os.chdir(curDir) os.chdir(curDir)
if not os.path.exists(docdir): if not os.path.exists(docdir):
os.mkdir(docdir) os.mkdir(docdir)