From c9587fe384a2eab6e9d81408abb58936d15286ed Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 30 Mar 2017 22:18:49 -0400 Subject: Try running bootstrap in subprocess in order to be in the project root. --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/conf.py') 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 ----------------------------------------------------- -- cgit v1.2.3