##// END OF EJS Templates
fixed deps in setup.py
marcink -
r720:74975001 beta
parent child Browse files
Show More
@@ -1,98 +1,98
1 1 from rhodecode import get_version
2 2 import sys
3 3 py_version = sys.version_info
4 4
5 5 requirements = [
6 6 "Pylons>=1.0.0",
7 7 "SQLAlchemy>=0.6.5",
8 8 "Mako>=0.3.6",
9 9 "vcs>=0.1.10",
10 10 "pygments>=1.3.0",
11 11 "mercurial>=1.6.4",
12 "whoosh>=1.3.1",
12 "whoosh>=1.3.3",
13 13 "celery>=2.1.3",
14 14 "py-bcrypt",
15 15 "babel",
16 16 ]
17 17
18 18 classifiers = ['Development Status :: 4 - Beta',
19 19 'Environment :: Web Environment',
20 20 'Framework :: Pylons',
21 21 'Intended Audience :: Developers',
22 22 'License :: OSI Approved :: BSD License',
23 23 'Operating System :: OS Independent',
24 24 'Programming Language :: Python', ]
25 25
26 26 if sys.version_info < (2, 6):
27 27 requirements.append("simplejson")
28 28 requirements.append("pysqlite")
29 29
30 30 #additional files from project that goes somewhere in the filesystem
31 31 #relative to sys.prefix
32 32 data_files = []
33 33
34 34 #additional files that goes into package itself
35 35 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
36 36
37 37 description = ('Mercurial repository browser/management with '
38 38 'build in push/pull server and full text search')
39 39 #long description
40 40 try:
41 41 readme_file = 'README.rst'
42 42 changelog_file = 'docs/changelog.rst'
43 43 long_description = open(readme_file).read() + '/n/n' + \
44 44 open(changelog_file).read()
45 45
46 46 except IOError, err:
47 47 sys.stderr.write("[WARNING] Cannot find file specified as "
48 48 "long_description (%s)\n or changelog (%s) skipping that file" \
49 49 % (readme_file, changelog_file))
50 50 long_description = description
51 51
52 52
53 53 try:
54 54 from setuptools import setup, find_packages
55 55 except ImportError:
56 56 from ez_setup import use_setuptools
57 57 use_setuptools()
58 58 from setuptools import setup, find_packages
59 59 #packages
60 60 packages = find_packages(exclude=['ez_setup'])
61 61
62 62 setup(
63 63 name='RhodeCode',
64 64 version=get_version(),
65 65 description=description,
66 66 long_description=long_description,
67 67 keywords='rhodiumcode mercurial web hgwebdir gitweb git replacement serving hgweb rhodecode',
68 68 license='BSD',
69 69 author='Marcin Kuzminski',
70 70 author_email='marcin@python-works.com',
71 71 url='http://hg.python-works.com',
72 72 install_requires=requirements,
73 73 classifiers=classifiers,
74 74 setup_requires=["PasteScript>=1.6.3"],
75 75 data_files=data_files,
76 76 packages=packages,
77 77 include_package_data=True,
78 78 test_suite='nose.collector',
79 79 package_data=package_data,
80 80 message_extractors={'rhodecode': [
81 81 ('**.py', 'python', None),
82 82 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
83 83 ('public/**', 'ignore', None)]},
84 84 zip_safe=False,
85 85 paster_plugins=['PasteScript', 'Pylons'],
86 86 entry_points="""
87 87 [paste.app_factory]
88 88 main = rhodecode.config.middleware:make_app
89 89
90 90 [paste.app_install]
91 91 main = pylons.util:PylonsInstaller
92 92
93 93 [paste.global_paster_command]
94 94 make-index = rhodecode.lib.indexers:MakeIndex
95 95 upgrade-db = rhodecode.lib.utils:UpgradeDb
96 96
97 97 """,
98 98 )
General Comments 0
You need to be logged in to leave comments. Login now