string version
This commit is contained in:
parent
308513b5de
commit
f1e1ed9e71
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue