setup.py: replace .g by +g

This commit is contained in:
Benjamin Dauvergne 2016-03-11 12:58:13 +01:00
parent 27932a653d
commit 8fb8cf62fe
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ def get_version():
major_minor_release = new_version.split('-')[0]
assert version == major_minor_release, \
'__version__ (%s) must match the last git annotated tag (%s)' % (version, major_minor_release)
version = new_version.replace('-', '.')
version = new_version.replace('-', '.').replace('.g', '+g')
return version
setup(name='django-journal',