##// END OF EJS Templates
updated version of libs in setup file
marcink -
r1457:ca99d771 beta
parent child Browse files
Show More
@@ -1,123 +1,123
1 1 import sys
2 2 from rhodecode import get_version
3 3 from rhodecode import __platform__
4 4 from rhodecode import __license__
5 5 from rhodecode import PLATFORM_OTHERS
6 6
7 7 py_version = sys.version_info
8 8
9 9 if py_version < (2, 5):
10 10 raise Exception('RhodeCode requires python 2.5 or later')
11 11
12 12 requirements = [
13 "vcs>=0.2.1.dev",
14 13 "Pylons==1.0.0",
15 14 "WebHelpers>=1.2",
16 "SQLAlchemy>=0.7.2",
15 "SQLAlchemy>=0.7.2,<0.8",
17 16 "Mako>=0.4.2",
18 17 "pygments>=1.4",
19 18 "mercurial>=1.9,<2.0",
20 19 "whoosh<1.8",
21 20 "celery>=2.2.5,<2.3",
22 21 "babel",
23 22 "python-dateutil>=1.5.0,<2.0.0",
24 "dulwich>=0.7.2"
23 "dulwich>=0.8.0",
24 "vcs>=0.2.1.dev",
25 25 ]
26 26
27 27 dependency_links = [
28 28 "https://hg.rhodecode.org/vcs/archive/default.zip#egg=vcs-0.2.1.dev",
29 29 "https://bitbucket.org/marcinkuzminski/vcs/get/default.zip#egg=vcs-0.2.1.dev",
30 30 ]
31 31
32 32 classifiers = ['Development Status :: 4 - Beta',
33 33 'Environment :: Web Environment',
34 34 'Framework :: Pylons',
35 35 'Intended Audience :: Developers',
36 36 'Operating System :: OS Independent',
37 37 'Programming Language :: Python',
38 38 'Programming Language :: Python :: 2.5',
39 39 'Programming Language :: Python :: 2.6',
40 40 'Programming Language :: Python :: 2.7', ]
41 41
42 42 if py_version < (2, 6):
43 43 requirements.append("simplejson")
44 44 requirements.append("pysqlite")
45 45
46 46 if __platform__ in PLATFORM_OTHERS:
47 47 requirements.append("py-bcrypt")
48 48
49 49
50 50 #additional files from project that goes somewhere in the filesystem
51 51 #relative to sys.prefix
52 52 data_files = []
53 53
54 54 #additional files that goes into package itself
55 55 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
56 56
57 57 description = ('Mercurial repository browser/management with '
58 58 'build in push/pull server and full text search')
59 59 keywords = ' '.join(['rhodecode', 'rhodiumcode', 'mercurial', 'git',
60 60 'repository management', 'hgweb replacement'
61 61 'hgwebdir', 'gitweb replacement', 'serving hgweb', ])
62 62 #long description
63 63 try:
64 64 readme_file = 'README.rst'
65 65 changelog_file = 'docs/changelog.rst'
66 66 long_description = open(readme_file).read() + '\n\n' + \
67 67 open(changelog_file).read()
68 68
69 69 except IOError, err:
70 70 sys.stderr.write("[WARNING] Cannot find file specified as "
71 71 "long_description (%s)\n or changelog (%s) skipping that file" \
72 72 % (readme_file, changelog_file))
73 73 long_description = description
74 74
75 75
76 76 try:
77 77 from setuptools import setup, find_packages
78 78 except ImportError:
79 79 from ez_setup import use_setuptools
80 80 use_setuptools()
81 81 from setuptools import setup, find_packages
82 82 #packages
83 83 packages = find_packages(exclude=['ez_setup'])
84 84
85 85 setup(
86 86 name='RhodeCode',
87 87 version=get_version(),
88 88 description=description,
89 89 long_description=long_description,
90 90 keywords=keywords,
91 91 license=__license__,
92 92 author='Marcin Kuzminski',
93 93 author_email='marcin@python-works.com',
94 94 dependency_links=dependency_links,
95 95 url='http://rhodecode.org',
96 96 install_requires=requirements,
97 97 classifiers=classifiers,
98 98 setup_requires=["PasteScript>=1.6.3"],
99 99 data_files=data_files,
100 100 packages=packages,
101 101 include_package_data=True,
102 102 test_suite='nose.collector',
103 103 package_data=package_data,
104 104 message_extractors={'rhodecode': [
105 105 ('**.py', 'python', None),
106 106 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
107 107 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
108 108 ('public/**', 'ignore', None)]},
109 109 zip_safe=False,
110 110 paster_plugins=['PasteScript', 'Pylons'],
111 111 entry_points="""
112 112 [paste.app_factory]
113 113 main = rhodecode.config.middleware:make_app
114 114
115 115 [paste.app_install]
116 116 main = pylons.util:PylonsInstaller
117 117
118 118 [paste.global_paster_command]
119 119 make-index = rhodecode.lib.indexers:MakeIndex
120 120 upgrade-db = rhodecode.lib.dbmigrate:UpgradeDb
121 121 celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand
122 122 """,
123 123 )
General Comments 0
You need to be logged in to leave comments. Login now