diff options
author | Ned Deily <nad@python.org> | 2017-07-23 23:39:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-23 23:39:49 (GMT) |
commit | fcfbeb9ed8d89a3ba96ef85b08fe5080d08d4996 (patch) | |
tree | fee2d6b603f58911e548732027190ad0d9953297 /Mac | |
parent | 8b99e2da1ffa8112ee0ba7600a8823da61e132bb (diff) | |
download | cpython-fcfbeb9ed8d89a3ba96ef85b08fe5080d08d4996.zip cpython-fcfbeb9ed8d89a3ba96ef85b08fe5080d08d4996.tar.gz cpython-fcfbeb9ed8d89a3ba96ef85b08fe5080d08d4996.tar.bz2 |
Mac installer build now needs venv for docs build (#2828) (#2833)
(cherry picked from commit 4c7532e96da19f2d5543bdab2b972797699c37d5)
Diffstat (limited to 'Mac')
-rwxr-xr-x | Mac/BuildScript/build-installer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index d7d4011..c61ad9b 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -1115,10 +1115,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) |