Commit 4c7532e9 authored by Ned Deily's avatar Ned Deily Committed by GitHub

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

parent 07ba305a
...@@ -1089,10 +1089,10 @@ def buildPythonDocs(): ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment