From 52c58bedd49552359993b533fcd86da4ff58b0c2 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 30 Mar 2017 22:06:23 -0400 Subject: Add hack to invoke bootstrap script so that setup.py --version can be invoked. --- docs/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 1b1bb5fb..36d3f24c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,6 +18,11 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. + +# hack to run the bootstrap script so that jaraco.packaging.sphinx +# can invoke setup.py +exec(open('../bootstrap.py').read()) + # -- General configuration ----------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be extensions -- cgit v1.2.3