From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Tue, 18 Jul 2017 17:24:32 +0200
Subject: Replace execfile call with Python3 compatible version.

---
 docs/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 06e9066..3308fb0 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -47,8 +47,8 @@ project = 'ImageKit'
 copyright = '2011, Justin Driscoll, Bryan Veloso, Greg Newman, Chris Drackett & Matthew Tretter'
 
 pkgmeta = {}
-execfile(os.path.join(os.path.dirname(__file__), '..', 'imagekit',
-                      'pkgmeta.py'), pkgmeta)
+with open(os.path.join(os.path.dirname(__file__), '..', 'imagekit', 'pkgmeta.py'), 'r') as fh:
+    exec(fh.read(), pkgmeta)
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
