Read about our upcoming Code of Conduct on this issue

Commit ba9ffad4 authored by Ludovic Chabant's avatar Ludovic Chabant
Browse files

py3: make setup.py py3 compatible

parent 395ab63d2af7
......@@ -7,7 +7,8 @@ META_PATH = 'hgext3rd/evolve/metadata.py'
def get_metadata():
meta = {}
fullpath = join(dirname(__file__), META_PATH)
execfile(fullpath, meta)
with open(fullpath, 'r') as fp:
exec(fp.read(), meta)
return meta
def get_version():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment