[2.7] bpo-31036: Allow sphinx and blurb to be found automatically. by benjaminp · Pull Request #16638 · python/cpython

Conversation

…-3440)

Rather than requiring the path to blurb and/or sphinx-build to be specified to the make rule, enhance the Doc/Makefile to look for each first in a virtual environment created by make venv and, if not found, look on the normal process PATH. This allows the Doc/Makefile to take advantage of an installed spinx-build or blurb and, thus, do the right thing most of the time. Also, make the directory for the venv be configurable and document the `make venv` target..
(cherry picked from commit 590665c)

Co-authored-by: Ned Deily <nad@python.org>

@benjaminp benjaminp merged commit 0bd59d6 into 2.7

Oct 8, 2019

4 checks passed

bedevere/issue-number Issue number 31036 found

Details

bedevere/maintenance-branch-pr Valid maintenance branch PR title.

bedevere/news "skip news" label found

continuous-integration/travis-ci/pr The Travis CI build passed

Details