]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-31036: Allow sphinx and blurb to be found automatically (GH-16638)
authorBenjamin Peterson <benjamin@python.org>
Tue, 8 Oct 2019 03:57:05 +0000 (20:57 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 03:57:05 +0000 (20:57 -0700)
commit0bd59d655280ad4c4aff2d327789815b89caee18
tree323c080d62cb4b59add8a4957ba5069fb1ce875a
parente78d79c15cc53bdf8161d41c627cbfb551d8ee96
[2.7] bpo-31036: Allow sphinx and blurb to be found automatically (GH-16638)

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 590665c399fc4aa3c4a9f8e7104d43a02e9f3a0c)

Co-authored-by: Ned Deily <nad@python.org>
.gitignore
Doc/Makefile