string version

This commit is contained in:
j 2017-02-16 17:36:41 +01:00
parent 308513b5de
commit f1e1ed9e71

View file

@ -8,7 +8,7 @@ except:
def get_version(): def get_version():
import subprocess import subprocess
rev = subprocess.check_output(['git', 'rev-list', 'HEAD', '--count']).strip() rev = subprocess.check_output(['git', 'rev-list', 'HEAD', '--count']).decode().strip()
return rev or u'unknown' return rev or u'unknown'
setup(name='oxtimelines', setup(name='oxtimelines',