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