Mercurial > kallithea
comparison rhodecode/__init__.py @ 1194:07963dd1f0f1 beta
fixes for issue #133
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 02 Apr 2011 00:42:17 +0200 |
parents | b0e2c949c34b |
children | 6832ef664673 |
comparison
equal
deleted
inserted
replaced
1193:523382549c45 | 1194:07963dd1f0f1 |
---|---|
30 VERSION = (1, 2, 0, 'beta') | 30 VERSION = (1, 2, 0, 'beta') |
31 __version__ = '.'.join((str(each) for each in VERSION[:4])) | 31 __version__ = '.'.join((str(each) for each in VERSION[:4])) |
32 __dbversion__ = 3 #defines current db version for migrations | 32 __dbversion__ = 3 #defines current db version for migrations |
33 __platform__ = platform.system() | 33 __platform__ = platform.system() |
34 | 34 |
35 PLATFORM_WIN = ('Windows',) | |
36 PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD',) | |
37 | |
35 try: | 38 try: |
36 from rhodecode.lib.utils import get_current_revision | 39 from rhodecode.lib.utils import get_current_revision |
37 _rev = get_current_revision() | 40 _rev = get_current_revision() |
38 except ImportError: | 41 except ImportError: |
39 #this is needed when doing some setup.py operations | 42 #this is needed when doing some setup.py operations |