summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c31ccb4..86fa6ec 100644
--- a/setup.py
+++ b/setup.py
@@ -80,7 +80,7 @@ def get_version():
stderr=subprocess.PIPE)
result = p.communicate()[0]
if p.returncode == 0:
- return result.split()[0].replace('-', '.')
+ return result.split()[0].replace('-g', '+g').replace('-', '.')
else:
return '0.0.0-%s' % len(
subprocess.check_output(['git', 'rev-list',