aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-03-30 22:18:49 -0400
committerJason R. Coombs <jaraco@jaraco.com>2017-03-30 22:18:49 -0400
commitc9587fe384a2eab6e9d81408abb58936d15286ed (patch)
tree2d5e6e29372fb0d2f231c0dae1fc13543aee50d6
parentb6bf75575644f8cb5457618a5a2c8e35e152052b (diff)
downloadexternal_python_setuptools-c9587fe384a2eab6e9d81408abb58936d15286ed.tar.gz
external_python_setuptools-c9587fe384a2eab6e9d81408abb58936d15286ed.tar.bz2
external_python_setuptools-c9587fe384a2eab6e9d81408abb58936d15286ed.zip
Try running bootstrap in subprocess in order to be in the project root.
-rw-r--r--docs/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 36d3f24c..6119ad12 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -21,6 +21,9 @@
# hack to run the bootstrap script so that jaraco.packaging.sphinx
# can invoke setup.py
+import subprocess
+import sys
+subprocess.Popen([sys.executable, 'bootstrap.py'], cwd='..')
exec(open('../bootstrap.py').read())
# -- General configuration -----------------------------------------------------