##// END OF EJS Templates
fixed some problems with python setup.py operations due to import problems
marcink -
r852:b76da6f2 beta
parent child Browse files
Show More
@@ -31,8 +31,12 b" VERSION = (1, 1, 0, 'beta')"
31 __version__ = '.'.join((str(each) for each in VERSION[:4]))
31 __version__ = '.'.join((str(each) for each in VERSION[:4]))
32 __dbversion__ = 2 #defines current db version for migrations
32 __dbversion__ = 2 #defines current db version for migrations
33
33
34 try:
34 from rhodecode.lib.utils import get_current_revision
35 from rhodecode.lib.utils import get_current_revision
35 _rev = get_current_revision()
36 _rev = get_current_revision()
37 except ImportError:
38 #this is needed when doing some setup.py operations
39 _rev = False
36
40
37 if len(VERSION) > 3 and _rev:
41 if len(VERSION) > 3 and _rev:
38 __version__ += ' [rev:%s]' % _rev[0]
42 __version__ += ' [rev:%s]' % _rev[0]
General Comments 0
You need to be logged in to leave comments. Login now