Show More
@@ -1,17 +1,17 b'' | |||||
1 | Pylons==1.0.0 |
|
1 | Pylons==1.0.0 | |
2 | Beaker==1.6.2 |
|
2 | Beaker==1.6.2 | |
3 | WebHelpers>=1.2 |
|
3 | WebHelpers>=1.2 | |
4 | formencode==1.2.4 |
|
4 | formencode==1.2.4 | |
5 |
SQLAlchemy==0.7. |
|
5 | SQLAlchemy==0.7.4 | |
6 | Mako==0.5.0 |
|
6 | Mako==0.5.0 | |
7 | pygments>=1.4 |
|
7 | pygments>=1.4 | |
8 | mercurial>=2.0,<2.1 |
|
8 | mercurial>=2.0,<2.1 | |
9 | whoosh<1.8 |
|
9 | whoosh<1.8 | |
10 | celery>=2.2.5,<2.3 |
|
10 | celery>=2.2.5,<2.3 | |
11 | babel |
|
11 | babel | |
12 | python-dateutil>=1.5.0,<2.0.0 |
|
12 | python-dateutil>=1.5.0,<2.0.0 | |
13 | dulwich>=0.8.0,<0.9.0 |
|
13 | dulwich>=0.8.0,<0.9.0 | |
14 | vcs>=0.2.3.dev |
|
14 | vcs>=0.2.3.dev | |
15 | webob==1.0.8 |
|
15 | webob==1.0.8 | |
16 | markdown==2.0.3 |
|
16 | markdown==2.0.3 | |
17 | docutils==0.8.1 No newline at end of file |
|
17 | docutils==0.8.1 |
@@ -1,82 +1,82 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://semver.org/ |
|
7 | versioning implementation: http://semver.org/ | |
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 platform |
|
26 | import platform | |
27 |
|
27 | |||
28 | VERSION = (1, 3, 0, 'beta') |
|
28 | VERSION = (1, 3, 0, 'beta') | |
29 | __version__ = '.'.join((str(each) for each in VERSION[:4])) |
|
29 | __version__ = '.'.join((str(each) for each in VERSION[:4])) | |
30 | __dbversion__ = 4 # defines current db version for migrations |
|
30 | __dbversion__ = 4 # defines current db version for migrations | |
31 | __platform__ = platform.system() |
|
31 | __platform__ = platform.system() | |
32 | __license__ = 'GPLv3' |
|
32 | __license__ = 'GPLv3' | |
33 |
|
33 | |||
34 | PLATFORM_WIN = ('Windows') |
|
34 | PLATFORM_WIN = ('Windows') | |
35 | PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS') |
|
35 | PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS') | |
36 |
|
36 | |||
37 | requirements = [ |
|
37 | requirements = [ | |
38 | "Pylons==1.0.0", |
|
38 | "Pylons==1.0.0", | |
39 | "Beaker==1.6.2", |
|
39 | "Beaker==1.6.2", | |
40 | "WebHelpers>=1.2", |
|
40 | "WebHelpers>=1.2", | |
41 | "formencode==1.2.4", |
|
41 | "formencode==1.2.4", | |
42 |
"SQLAlchemy==0.7. |
|
42 | "SQLAlchemy==0.7.4", | |
43 | "Mako==0.5.0", |
|
43 | "Mako==0.5.0", | |
44 | "pygments>=1.4", |
|
44 | "pygments>=1.4", | |
45 | "mercurial>=2.0,<2.1", |
|
45 | "mercurial>=2.0,<2.1", | |
46 | "whoosh<1.8", |
|
46 | "whoosh<1.8", | |
47 | "celery>=2.2.5,<2.3", |
|
47 | "celery>=2.2.5,<2.3", | |
48 | "babel", |
|
48 | "babel", | |
49 | "python-dateutil>=1.5.0,<2.0.0", |
|
49 | "python-dateutil>=1.5.0,<2.0.0", | |
50 | "dulwich>=0.8.0,<0.9.0", |
|
50 | "dulwich>=0.8.0,<0.9.0", | |
51 | "vcs>=0.2.3.dev", |
|
51 | "vcs>=0.2.3.dev", | |
52 | "webob==1.0.8", |
|
52 | "webob==1.0.8", | |
53 | "markdown==2.0.3", |
|
53 | "markdown==2.0.3", | |
54 | "docutils==0.8.1", |
|
54 | "docutils==0.8.1", | |
55 | ] |
|
55 | ] | |
56 |
|
56 | |||
57 |
|
57 | |||
58 | try: |
|
58 | try: | |
59 | from rhodecode.lib import get_current_revision |
|
59 | from rhodecode.lib import get_current_revision | |
60 | _rev = get_current_revision() |
|
60 | _rev = get_current_revision() | |
61 | except ImportError: |
|
61 | except ImportError: | |
62 | # this is needed when doing some setup.py operations |
|
62 | # this is needed when doing some setup.py operations | |
63 | _rev = False |
|
63 | _rev = False | |
64 |
|
64 | |||
65 | if len(VERSION) > 3 and _rev: |
|
65 | if len(VERSION) > 3 and _rev: | |
66 | __version__ += ' [rev:%s]' % _rev[0] |
|
66 | __version__ += ' [rev:%s]' % _rev[0] | |
67 |
|
67 | |||
68 |
|
68 | |||
69 | def get_version(): |
|
69 | def get_version(): | |
70 | """Returns shorter version (digit parts only) as string.""" |
|
70 | """Returns shorter version (digit parts only) as string.""" | |
71 |
|
71 | |||
72 | return '.'.join((str(each) for each in VERSION[:3])) |
|
72 | return '.'.join((str(each) for each in VERSION[:3])) | |
73 |
|
73 | |||
74 | BACKENDS = { |
|
74 | BACKENDS = { | |
75 | 'hg': 'Mercurial repository', |
|
75 | 'hg': 'Mercurial repository', | |
76 | 'git': 'Git repository', |
|
76 | 'git': 'Git repository', | |
77 | } |
|
77 | } | |
78 |
|
78 | |||
79 | CELERY_ON = False |
|
79 | CELERY_ON = False | |
80 |
|
80 | |||
81 | # link to config for pylons |
|
81 | # link to config for pylons | |
82 | CONFIG = None |
|
82 | CONFIG = None |
General Comments 0
You need to be logged in to leave comments.
Login now