aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-03-30 22:06:23 -0400
committerJason R. Coombs <jaraco@jaraco.com>2017-03-30 22:08:52 -0400
commit52c58bedd49552359993b533fcd86da4ff58b0c2 (patch)
treeb074922d4475fd0a8561d83ea9971b6c4fbbea53 /docs/conf.py
parent23d74941204535bd08aec7699566865d810b52f7 (diff)
downloadexternal_python_setuptools-52c58bedd49552359993b533fcd86da4ff58b0c2.tar.gz
external_python_setuptools-52c58bedd49552359993b533fcd86da4ff58b0c2.tar.bz2
external_python_setuptools-52c58bedd49552359993b533fcd86da4ff58b0c2.zip
Add hack to invoke bootstrap script so that setup.py --version can be invoked.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py5
1 files changed, 5 insertions, 0 deletions
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