Show More
@@ -5,7 +5,6 b' formencode==1.2.4' | |||
|
5 | 5 | SQLAlchemy==0.7.4 |
|
6 | 6 | Mako==0.5.0 |
|
7 | 7 | pygments>=1.4 |
|
8 | mercurial>=2.0,<2.1 | |
|
9 | 8 | whoosh<1.8 |
|
10 | 9 | celery>=2.2.5,<2.3 |
|
11 | 10 | babel |
@@ -14,4 +13,6 b' dulwich>=0.8.0,<0.9.0' | |||
|
14 | 13 | vcs>=0.2.3.dev |
|
15 | 14 | webob==1.0.8 |
|
16 | 15 | markdown==2.0.3 |
|
17 | docutils==0.8.1 No newline at end of file | |
|
16 | docutils==0.8.1 | |
|
17 | py-bcrypt | |
|
18 | mercurial>=2.0,<2.1 No newline at end of file |
@@ -23,6 +23,7 b'' | |||
|
23 | 23 | # |
|
24 | 24 | # You should have received a copy of the GNU General Public License |
|
25 | 25 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
26 | import sys | |
|
26 | 27 | import platform |
|
27 | 28 | |
|
28 | 29 | VERSION = (1, 3, 0, 'beta') |
@@ -30,6 +31,7 b" VERSION = (1, 3, 0, 'beta')" | |||
|
30 | 31 | __dbversion__ = 4 # defines current db version for migrations |
|
31 | 32 | __platform__ = platform.system() |
|
32 | 33 | __license__ = 'GPLv3' |
|
34 | __py_version__ = sys.version_info | |
|
33 | 35 | |
|
34 | 36 | PLATFORM_WIN = ('Windows') |
|
35 | 37 | PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS') |
@@ -42,7 +44,6 b' requirements = [' | |||
|
42 | 44 | "SQLAlchemy==0.7.4", |
|
43 | 45 | "Mako==0.5.0", |
|
44 | 46 | "pygments>=1.4", |
|
45 | "mercurial>=2.0,<2.1", | |
|
46 | 47 | "whoosh<1.8", |
|
47 | 48 | "celery>=2.2.5,<2.3", |
|
48 | 49 | "babel", |
@@ -54,6 +55,16 b' requirements = [' | |||
|
54 | 55 | "docutils==0.8.1", |
|
55 | 56 | ] |
|
56 | 57 | |
|
58 | if __py_version__ < (2, 6): | |
|
59 | requirements.append("simplejson") | |
|
60 | requirements.append("pysqlite") | |
|
61 | ||
|
62 | if __platform__ in PLATFORM_WIN: | |
|
63 | requirements.append("mercurial==2.0.1") | |
|
64 | else: | |
|
65 | requirements.append("py-bcrypt") | |
|
66 | requirements.append("mercurial>=2.0,<2.1") | |
|
67 | ||
|
57 | 68 | |
|
58 | 69 | try: |
|
59 | 70 | from rhodecode.lib import get_current_revision |
@@ -1,8 +1,6 b'' | |||
|
1 | 1 | import sys |
|
2 | 2 | from rhodecode import get_version |
|
3 | from rhodecode import __platform__ | |
|
4 | 3 | from rhodecode import __license__ |
|
5 | from rhodecode import PLATFORM_OTHERS | |
|
6 | 4 | from rhodecode import requirements |
|
7 | 5 | |
|
8 | 6 | py_version = sys.version_info |
@@ -27,13 +25,6 b" classifiers = ['Development Status :: 4 " | |||
|
27 | 25 | 'Programming Language :: Python :: 2.6', |
|
28 | 26 | 'Programming Language :: Python :: 2.7', ] |
|
29 | 27 | |
|
30 | if py_version < (2, 6): | |
|
31 | requirements.append("simplejson") | |
|
32 | requirements.append("pysqlite") | |
|
33 | ||
|
34 | if __platform__ in PLATFORM_OTHERS: | |
|
35 | requirements.append("py-bcrypt") | |
|
36 | ||
|
37 | 28 | |
|
38 | 29 | # additional files from project that goes somewhere in the filesystem |
|
39 | 30 | # relative to sys.prefix |
General Comments 0
You need to be logged in to leave comments.
Login now