##// END OF EJS Templates
version bump
marcink -
r4101:b4d01774 default
parent child Browse files
Show More
@@ -1,62 +1,62 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """
2 """
3 rhodecode.__init__
3 rhodecode.__init__
4 ~~~~~~~~~~~~~~~~~~
4 ~~~~~~~~~~~~~~~~~~
5
5
6 RhodeCode, a web based repository management based on pylons
6 RhodeCode, a web based repository management based on pylons
7 versioning implementation: http://www.python.org/dev/peps/pep-0386/
7 versioning implementation: http://www.python.org/dev/peps/pep-0386/
8
8
9 :created_on: Apr 9, 2010
9 :created_on: Apr 9, 2010
10 :author: marcink
10 :author: marcink
11 :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com>
11 :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com>
12 :license: GPLv3, see COPYING for more details.
12 :license: GPLv3, see COPYING for more details.
13 """
13 """
14 # This program is free software: you can redistribute it and/or modify
14 # This program is free software: you can redistribute it and/or modify
15 # it under the terms of the GNU General Public License as published by
15 # it under the terms of the GNU General Public License as published by
16 # the Free Software Foundation, either version 3 of the License, or
16 # the Free Software Foundation, either version 3 of the License, or
17 # (at your option) any later version.
17 # (at your option) any later version.
18 #
18 #
19 # This program is distributed in the hope that it will be useful,
19 # This program is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU General Public License for more details.
22 # GNU General Public License for more details.
23 #
23 #
24 # You should have received a copy of the GNU General Public License
24 # You should have received a copy of the GNU General Public License
25 # along with this program. If not, see <http://www.gnu.org/licenses/>.
25 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26 import sys
26 import sys
27 import platform
27 import platform
28
28
29 VERSION = (1, 7, 1)
29 VERSION = (1, 7, 2)
30 BACKENDS = {
30 BACKENDS = {
31 'hg': 'Mercurial repository',
31 'hg': 'Mercurial repository',
32 'git': 'Git repository',
32 'git': 'Git repository',
33 }
33 }
34
34
35 CELERY_ON = False
35 CELERY_ON = False
36 CELERY_EAGER = False
36 CELERY_EAGER = False
37
37
38 # link to config for pylons
38 # link to config for pylons
39 CONFIG = {}
39 CONFIG = {}
40
40
41 # Linked module for extensions
41 # Linked module for extensions
42 EXTENSIONS = {}
42 EXTENSIONS = {}
43
43
44 try:
44 try:
45 from rhodecode.lib import get_current_revision
45 from rhodecode.lib import get_current_revision
46 _rev = get_current_revision(quiet=True)
46 _rev = get_current_revision(quiet=True)
47 if _rev and len(VERSION) > 3:
47 if _rev and len(VERSION) > 3:
48 VERSION += ('%s' % _rev[0],)
48 VERSION += ('%s' % _rev[0],)
49 except ImportError:
49 except ImportError:
50 pass
50 pass
51
51
52 __version__ = ('.'.join((str(each) for each in VERSION[:3])) +
52 __version__ = ('.'.join((str(each) for each in VERSION[:3])) +
53 '.'.join(VERSION[3:]))
53 '.'.join(VERSION[3:]))
54 __dbversion__ = 14 # defines current db version for migrations
54 __dbversion__ = 14 # defines current db version for migrations
55 __platform__ = platform.system()
55 __platform__ = platform.system()
56 __license__ = 'GPLv3'
56 __license__ = 'GPLv3'
57 __py_version__ = sys.version_info
57 __py_version__ = sys.version_info
58 __author__ = 'Marcin Kuzminski'
58 __author__ = 'Marcin Kuzminski'
59 __url__ = 'http://rhodecode.org'
59 __url__ = 'http://rhodecode.org'
60
60
61 is_windows = __platform__ in ['Windows']
61 is_windows = __platform__ in ['Windows']
62 is_unix = not is_windows
62 is_unix = not is_windows
General Comments 0
You need to be logged in to leave comments. Login now