Remove execfile() from doc config file
...since Python 3 does not have that function anymore.
This commit is contained in:
@@ -48,7 +48,11 @@ copyright = u'2012'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
execfile(os.path.join(os.path.dirname(__file__), '../happybase/_version.py'))
|
||||
version_file = os.path.join(
|
||||
os.path.dirname(__file__),
|
||||
'../happybase/_version.py')
|
||||
with open(version_file, 'r') as fp:
|
||||
exec(fp.read())
|
||||
version = __version__
|
||||
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
|
||||
Reference in New Issue
Block a user