Mercurial > libervia-desktop-kivy
diff setup.py @ 161:98a485512289
installation: fixed version in setup.py
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 28 Apr 2018 11:04:17 +0200 |
parents | 9d3d700a65b7 |
children | c63922860f80 |
line wrap: on
line diff
--- a/setup.py Sat Apr 28 10:57:17 2018 +0200 +++ b/setup.py Sat Apr 28 11:04:17 2018 +0200 @@ -38,13 +38,10 @@ def cagou_dev_version(): """Use mercurial data to compute version""" def version_scheme(version): - return VERSION + return VERSION.replace('D', '.dev0') def local_scheme(version): - # XXX: setuptools_scm seems buggy and the '+' and the '_' are replaced by '-' - # breaking the local version identifier scheme - # cf. https://github.com/pypa/setuptools_scm/issues/237 - return "+{rev}_{distance}".format( + return "+{rev}.{distance}".format( rev=version.node[1:], distance=version.distance)