mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Mac installer build now needs venv for docs build (#2828)
This commit is contained in:
parent
07ba305a4c
commit
4c7532e96d
1 changed files with 3 additions and 3 deletions
|
@ -1089,10 +1089,10 @@ def buildPythonDocs():
|
|||
docdir = os.path.join(rootDir, 'pydocs')
|
||||
curDir = os.getcwd()
|
||||
os.chdir(buildDir)
|
||||
# The Doc build changed for 3.4 (technically, for 3.4.1) and for 2.7.9
|
||||
runCommand('make clean')
|
||||
# Assume sphinx-build is on our PATH, checked in checkEnvironment
|
||||
runCommand('make html')
|
||||
# Create virtual environment for docs builds with blurb and sphinx
|
||||
runCommand('make venv')
|
||||
runCommand('make html PYTHON=venv/bin/python')
|
||||
os.chdir(curDir)
|
||||
if not os.path.exists(docdir):
|
||||
os.mkdir(docdir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue