Show More
@@ -1,56 +1,56 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 platform |
|
30 | import platform | |
31 | import sys |
|
31 | import sys | |
32 |
|
32 | |||
33 |
|
33 | |||
34 |
VERSION = (0, |
|
34 | VERSION = (0, 5, 0) | |
35 | BACKENDS = { |
|
35 | BACKENDS = { | |
36 | 'hg': 'Mercurial repository', |
|
36 | 'hg': 'Mercurial repository', | |
37 | 'git': 'Git repository', |
|
37 | 'git': 'Git repository', | |
38 | } |
|
38 | } | |
39 |
|
39 | |||
40 | CELERY_ON = False |
|
40 | CELERY_ON = False | |
41 | CELERY_EAGER = False |
|
41 | CELERY_EAGER = False | |
42 |
|
42 | |||
43 | CONFIG = {} |
|
43 | CONFIG = {} | |
44 |
|
44 | |||
45 | # Linked module for extensions |
|
45 | # Linked module for extensions | |
46 | EXTENSIONS = {} |
|
46 | EXTENSIONS = {} | |
47 |
|
47 | |||
48 | __version__ = '.'.join(str(each) for each in VERSION) |
|
48 | __version__ = '.'.join(str(each) for each in VERSION) | |
49 | __platform__ = platform.system() |
|
49 | __platform__ = platform.system() | |
50 | __license__ = 'GPLv3' |
|
50 | __license__ = 'GPLv3' | |
51 | __py_version__ = sys.version_info |
|
51 | __py_version__ = sys.version_info | |
52 | __author__ = "Various Authors" |
|
52 | __author__ = "Various Authors" | |
53 | __url__ = 'https://kallithea-scm.org/' |
|
53 | __url__ = 'https://kallithea-scm.org/' | |
54 |
|
54 | |||
55 | is_windows = __platform__ in ['Windows'] |
|
55 | is_windows = __platform__ in ['Windows'] | |
56 | is_unix = not is_windows |
|
56 | is_unix = not is_windows |
General Comments 0
You need to be logged in to leave comments.
Login now