[3.6] bpo-31036: Allow sphinx and blurb to be found automatically (GH-3440) by miss-islington · Pull Request #3441 · python/cpython (original) (raw)
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)