aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2018-06-11 17:28:46 -0400
committerTim Harder <radhermit@gmail.com>2018-06-11 20:32:35 -0400
commit4d7edcf7190a54d6be7993f0022d1aadb18960c5 (patch)
tree377f0122a2d854167752ef79eda9d1a17001c043 /doc
parentdoc: update man pages to work with snakeoil generation changes (diff)
downloadpkgcore-4d7edcf7190a54d6be7993f0022d1aadb18960c5.tar.gz
pkgcore-4d7edcf7190a54d6be7993f0022d1aadb18960c5.tar.bz2
pkgcore-4d7edcf7190a54d6be7993f0022d1aadb18960c5.zip
move to using pkgdist from snakeoil
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 860871a0e..ad70e5abe 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -21,8 +21,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'
@@ -54,7 +55,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = pkgdist.MODULE
+project = pkgdist.MODULE_NAME
authors = ''
copyright = '2006-2017, pkgcore contributors'