fix setup
This commit is contained in:
parent
a3be13e0d5
commit
791029be58
1 changed files with 1 additions and 3 deletions
4
setup.py
4
setup.py
|
@ -9,9 +9,7 @@ except:
|
|||
def get_version():
|
||||
import subprocess
|
||||
rev = subprocess.check_output(['git', 'rev-list', 'HEAD', '--count']).strip()
|
||||
if rev:
|
||||
return u'0.%s' % rev
|
||||
return u'unknown'
|
||||
return rev or u'unknown'
|
||||
|
||||
setup(name='oxtimelines',
|
||||
version='0.%s' % get_version() ,
|
||||
|
|
Loading…
Reference in a new issue