summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-07-01 08:56:23 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-07-01 08:56:23 (GMT)
commita8d0cc10654705e6bec55dda1d5fd58a57565023 (patch)
tree0555d9efdb62723a58413581f6d05ff7a73663f9
parent7225dffb503c8cf35c9cbc6952fc46772f60e612 (diff)
downloaddjango-import-export-a8d0cc10654705e6bec55dda1d5fd58a57565023.zip
django-import-export-a8d0cc10654705e6bec55dda1d5fd58a57565023.tar.gz
django-import-export-a8d0cc10654705e6bec55dda1d5fd58a57565023.tar.bz2
setup.py: follow PEP0440HEADmaster
-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',