From 88077bff2ee656c7911a347b59a2c564af5eefc1 Mon Sep 17 00:00:00 2001 From: Giacomo Cariello Date: Fri, 11 Nov 2016 17:18:52 +0100 Subject: [PATCH] Fix documentation conf.py. --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 64d507f..7ad8086 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -20,7 +20,7 @@ # 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. import pkg_resources -env = pkg_resources.Environment(['..', '../.eggs']) +env = pkg_resources.Environment([os.path.abspath(os.path.join(os.path.dirname(__file__), x)) for x in ['..', '../.eggs']]) for egg in pkg_resources.working_set.resolve([pkg_resources.Requirement.parse('dockeroo')], env): pkg_resources.working_set.add(egg)