Show More
@@ -1,63 +1,63 b'' | |||||
1 | # -*- coding: utf-8 -*- |
|
1 | # -*- coding: utf-8 -*- | |
2 | # This program is free software: you can redistribute it and/or modify |
|
2 | # This program is free software: you can redistribute it and/or modify | |
3 | # it under the terms of the GNU General Public License as published by |
|
3 | # it under the terms of the GNU General Public License as published by | |
4 | # the Free Software Foundation, either version 3 of the License, or |
|
4 | # the Free Software Foundation, either version 3 of the License, or | |
5 | # (at your option) any later version. |
|
5 | # (at your option) any later version. | |
6 | # |
|
6 | # | |
7 | # This program is distributed in the hope that it will be useful, |
|
7 | # This program is distributed in the hope that it will be useful, | |
8 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
8 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
9 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
9 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
10 | # GNU General Public License for more details. |
|
10 | # GNU General Public License for more details. | |
11 | # |
|
11 | # | |
12 | # You should have received a copy of the GNU General Public License |
|
12 | # You should have received a copy of the GNU General Public License | |
13 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
13 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
14 | """ |
|
14 | """ | |
15 | kallithea |
|
15 | kallithea | |
16 | ~~~~~~~~~ |
|
16 | ~~~~~~~~~ | |
17 |
|
17 | |||
18 | Kallithea, a web based repository management system. |
|
18 | Kallithea, a web based repository management system. | |
19 |
|
19 | |||
20 | Versioning implementation: http://www.python.org/dev/peps/pep-0386/ |
|
20 | Versioning implementation: http://www.python.org/dev/peps/pep-0386/ | |
21 |
|
21 | |||
22 | This file was forked by the Kallithea project in July 2014. |
|
22 | This file was forked by the Kallithea project in July 2014. | |
23 | Original author and date, and relevant copyright and licensing information is below: |
|
23 | Original author and date, and relevant copyright and licensing information is below: | |
24 | :created_on: Apr 9, 2010 |
|
24 | :created_on: Apr 9, 2010 | |
25 | :author: marcink |
|
25 | :author: marcink | |
26 | :copyright: (c) 2013 RhodeCode GmbH, (C) 2014 Bradley M. Kuhn, and others. |
|
26 | :copyright: (c) 2013 RhodeCode GmbH, (C) 2014 Bradley M. Kuhn, and others. | |
27 | :license: GPLv3, see LICENSE.md for more details. |
|
27 | :license: GPLv3, see LICENSE.md for more details. | |
28 | """ |
|
28 | """ | |
29 |
|
29 | |||
30 | import sys |
|
30 | import sys | |
31 | import platform |
|
31 | import platform | |
32 |
|
32 | |||
33 |
VERSION = (0, |
|
33 | VERSION = (0, 4, 0, 'rc1') | |
34 | BACKENDS = { |
|
34 | BACKENDS = { | |
35 | 'hg': 'Mercurial repository', |
|
35 | 'hg': 'Mercurial repository', | |
36 | 'git': 'Git repository', |
|
36 | 'git': 'Git repository', | |
37 | } |
|
37 | } | |
38 |
|
38 | |||
39 | CELERY_ON = False |
|
39 | CELERY_ON = False | |
40 | CELERY_EAGER = False |
|
40 | CELERY_EAGER = False | |
41 |
|
41 | |||
42 | CONFIG = {} |
|
42 | CONFIG = {} | |
43 |
|
43 | |||
44 | # Linked module for extensions |
|
44 | # Linked module for extensions | |
45 | EXTENSIONS = {} |
|
45 | EXTENSIONS = {} | |
46 |
|
46 | |||
47 | try: |
|
47 | try: | |
48 | import kallithea.brand |
|
48 | import kallithea.brand | |
49 | except ImportError: |
|
49 | except ImportError: | |
50 | pass |
|
50 | pass | |
51 | else: |
|
51 | else: | |
52 | assert False, 'Database rebranding is no longer supported; see README.' |
|
52 | assert False, 'Database rebranding is no longer supported; see README.' | |
53 |
|
53 | |||
54 |
|
54 | |||
55 | __version__ = '.'.join(str(each) for each in VERSION) |
|
55 | __version__ = '.'.join(str(each) for each in VERSION) | |
56 | __platform__ = platform.system() |
|
56 | __platform__ = platform.system() | |
57 | __license__ = 'GPLv3' |
|
57 | __license__ = 'GPLv3' | |
58 | __py_version__ = sys.version_info |
|
58 | __py_version__ = sys.version_info | |
59 | __author__ = "Various Authors" |
|
59 | __author__ = "Various Authors" | |
60 | __url__ = 'https://kallithea-scm.org/' |
|
60 | __url__ = 'https://kallithea-scm.org/' | |
61 |
|
61 | |||
62 | is_windows = __platform__ in ['Windows'] |
|
62 | is_windows = __platform__ in ['Windows'] | |
63 | is_unix = not is_windows |
|
63 | is_unix = not is_windows |
General Comments 0
You need to be logged in to leave comments.
Login now