Fixes for building on v4.0
[osm/RO.git] / setup.py
index 4fa3273..c1d91ac 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -41,7 +41,7 @@ _requirements = [
 ]
 
 setup(name=_name,
-      version_command=('git describe', 'pep440-git'),
+      version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
       description = _description,
       long_description = open('README.rst').read(),
       author = _author,