@@ -1089,10 +1089,10 @@ def buildPythonDocs(): |
|
|
1089 |
1089 |
docdir = os.path.join(rootDir, 'pydocs') |
1090 |
1090 |
curDir = os.getcwd() |
1091 |
1091 |
os.chdir(buildDir) |
1092 |
|
-# The Doc build changed for 3.4 (technically, for 3.4.1) and for 2.7.9 |
1093 |
1092 |
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') |
1096 |
1096 |
os.chdir(curDir) |
1097 |
1097 |
if not os.path.exists(docdir): |
1098 |
1098 |
os.mkdir(docdir) |