]> granicus.if.org Git - python/commit
[3.6] bpo-31036: Allow sphinx and blurb to be found automatically (GH-3440) (#3441)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 8 Sep 2017 00:38:31 +0000 (17:38 -0700)
committerNed Deily <nad@python.org>
Fri, 8 Sep 2017 00:38:31 +0000 (17:38 -0700)
commit645c1e421348790d49eab863279a41cb2b6a007a
tree85b922d835ad2ed6ff6cab70626d3e565ae85c94
parent9423f5d68874ff2e500cbe072c25f883cf754be8
[3.6] bpo-31036: Allow sphinx and blurb to be found automatically (GH-3440) (#3441)

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)
.gitignore
Doc/Makefile
Doc/README.rst