Mercurial > evolve
changeset 4900:155e986045eb stable
py3: fix setup.py --version
Before:
$ python3 setup.py --version
b'9.3.0.dev'
After:
$ python3 setup.py --version
9.3.0.dev
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Fri, 11 Oct 2019 16:51:13 +0200 |
parents | c982e7fb5e7a |
children | ce163aaeba37 |
files | setup.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Wed Oct 16 18:12:53 2019 +0200 +++ b/setup.py Fri Oct 11 16:51:13 2019 +0200 @@ -13,7 +13,7 @@ def get_version(): '''Read version info from a file without importing it''' - return u'%s' % get_metadata()['__version__'] + return get_metadata()['__version__'].decode() def min_hg_version(): '''Read version info from a file without importing it'''