setup.py
branchstable
changeset 4878 095bab0d0cd7
parent 4876 1a47cc2728ff
child 4900 155e986045eb
equal deleted inserted replaced
4877:77e5c733200a 4878:095bab0d0cd7
    11         exec(fp.read(), meta)
    11         exec(fp.read(), meta)
    12     return meta
    12     return meta
    13 
    13 
    14 def get_version():
    14 def get_version():
    15     '''Read version info from a file without importing it'''
    15     '''Read version info from a file without importing it'''
    16     return get_metadata()['__version__']
    16     return u'%s' % get_metadata()['__version__']
    17 
    17 
    18 def min_hg_version():
    18 def min_hg_version():
    19     '''Read version info from a file without importing it'''
    19     '''Read version info from a file without importing it'''
    20     return get_metadata()['minimumhgversion']
    20     return get_metadata()['minimumhgversion']
    21 
    21