aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2018-06-18 07:07:07 -0400
committerTim Harder <radhermit@gmail.com>2018-06-18 07:49:30 -0400
commit5dd76c009933a8db7d1d285a135c79985cf7b0de (patch)
tree70b0c50d298bbc4badf3aade4e9975dc3cfde3f7 /doc
parentbump version (diff)
downloadpkgcheck-5dd76c009933a8db7d1d285a135c79985cf7b0de.tar.gz
pkgcheck-5dd76c009933a8db7d1d285a135c79985cf7b0de.tar.bz2
pkgcheck-5dd76c009933a8db7d1d285a135c79985cf7b0de.zip
setup: use pkgdist from snakeoil
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 9c51feaa..9e2bdbb6 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -25,8 +25,9 @@ import sys
libdir = os.path.abspath(os.path.join('..', 'build', 'lib'))
if os.path.exists(libdir):
sys.path.insert(0, libdir)
-sys.path.insert(1, os.path.abspath('..'))
-import pkgdist
+
+os.environ['PKGDIST_REPODIR'] = os.path.abspath('..')
+from snakeoil.dist import distutils_extensions as pkgdist
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'