doc/prerst2man.py: Convert execfile to import
authorW. Trevor King <wking@tremily.us>
Sat, 5 Apr 2014 17:13:55 +0000 (10:13 -0700)
committerW. Trevor King <wking@tremily.us>
Sat, 10 May 2014 16:49:23 +0000 (09:49 -0700)
commit4f5a9c7d4fc607128aebbc1443d6da5439f0d2eb
tree284567ca7c7c51c6342688453031aabfd3ce2239
parentc8b019cf95243e4b47780a19d0bfca5b65c79ecb
doc/prerst2man.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,
prerst2man.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/prerst2man.py