diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2017-03-31 08:22:38 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-03-31 08:22:38 -0400 |
commit | 332b586b7c65dee7e9a2dbbcbc1c896f4a862a3f (patch) | |
tree | 6fdfdc55e476f2ce36ca0008db0cee75b0f5222d /docs/conf.py | |
parent | b10187e1fa7f602d7f5cc75821d14b494625aef9 (diff) | |
download | external_python_setuptools-332b586b7c65dee7e9a2dbbcbc1c896f4a862a3f.tar.gz external_python_setuptools-332b586b7c65dee7e9a2dbbcbc1c896f4a862a3f.tar.bz2 external_python_setuptools-332b586b7c65dee7e9a2dbbcbc1c896f4a862a3f.zip |
Hack must genuflect to the arbitrory invocation location
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 7f781fef..28f86da4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,9 @@ # can invoke setup.py import subprocess import sys -subprocess.check_call([sys.executable, 'bootstrap.py'], cwd='..') +import os +proj_root = os.path.join(os.path.dirname(__file__), os.path.pardir) +subprocess.check_call([sys.executable, 'bootstrap.py'], cwd=proj_root) # -- General configuration ----------------------------------------------------- |