Commit e8ca95c2 authored by Jason R. Coombs's avatar Jason R. Coombs

Constrain hack to the RTD environment. Rely on bootstrap routine to make dependencies available.

parent 332b586b
......@@ -18,14 +18,17 @@
# 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
import subprocess
import sys
import os
proj_root = os.path.join(os.path.dirname(__file__), os.path.pardir)
subprocess.check_call([sys.executable, 'bootstrap.py'], cwd=proj_root)
# hack to run the bootstrap script so that jaraco.packaging.sphinx
# can invoke setup.py
'READTHEDOCS' in os.environ and subprocess.check_call(
[sys.executable, 'bootstrap.py'],
cwd=os.path.join(os.path.dirname(__file__), os.path.pardir),
)
# -- General configuration -----------------------------------------------------
......
sphinx
rst.linker>=1.9
jaraco.packaging>=3.2
setuptools>=34
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment