doc/mkdocdeps.py: Convert execfile to import
authorW. Trevor King <wking@tremily.us>
Sat, 5 Apr 2014 15:41:39 +0000 (08:41 -0700)
committerW. Trevor King <wking@tremily.us>
Sat, 5 Apr 2014 15:55:20 +0000 (08:55 -0700)
commit8d518408f2da8bc96ae3123f05791142da26b9bc
treedd907d0b9ec4428f7d1dfedc7a611be7c5f9c906
parent3863755f6d9f3e7666c1484822384c036a4426c3
doc/mkdocdeps.py: Convert execfile to import

excefile is gone in Python 3 [1].  Instead of exec-ing the
configuration, it's easier to insert the source directory in Python's
path [2], and just import the configuration.  With this change,
mkdocdeps.py is compatible with both Python 2 and 3.

[1]: https://docs.python.org/3.0/whatsnew/3.0.html#builtins
[2]: https://docs.python.org/3/library/sys.html#sys.path
doc/mkdocdeps.py