Mercurial > public > src > rhodecode
comparison setup.py @ 1292:8a153dba7033
fixes #140
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 05 Apr 2011 17:34:04 +0200 |
parents | c5af1d3c861f |
children | 2182a2005278 |
comparison
equal
deleted
inserted
replaced
1286:45fed9a435b7 | 1292:8a153dba7033 |
---|---|
1 import sys | 1 import sys |
2 from rhodecode import get_version | 2 from rhodecode import get_version |
3 from rhodecode import __platform__ | 3 from rhodecode import __platform__ |
4 from rhodecode import __license__ | |
4 | 5 |
5 py_version = sys.version_info | 6 py_version = sys.version_info |
6 | 7 |
7 if py_version < (2, 5): | 8 if py_version < (2, 5): |
8 raise Exception('RhodeCode requires python 2.5 or later') | 9 raise Exception('RhodeCode requires python 2.5 or later') |
14 "Mako==0.4.0", | 15 "Mako==0.4.0", |
15 "vcs==0.1.11", | 16 "vcs==0.1.11", |
16 "pygments==1.4.0", | 17 "pygments==1.4.0", |
17 "mercurial==1.7.5", | 18 "mercurial==1.7.5", |
18 "whoosh==1.3.4", | 19 "whoosh==1.3.4", |
19 "celery==2.2.4", | 20 "celery==2.2.5", |
20 "babel", | 21 "babel", |
22 "python-dateutil>=1.5.0,<2.0.0", | |
21 ] | 23 ] |
22 | 24 |
23 classifiers = ['Development Status :: 5 - Production/Stable', | 25 classifiers = ['Development Status :: 5 - Production/Stable', |
24 'Environment :: Web Environment', | 26 'Environment :: Web Environment', |
25 'Framework :: Pylons', | 27 'Framework :: Pylons', |
26 'Intended Audience :: Developers', | 28 'Intended Audience :: Developers', |
27 'License :: OSI Approved :: BSD License', | |
28 'Operating System :: OS Independent', | 29 'Operating System :: OS Independent', |
29 'Programming Language :: Python', ] | 30 'Programming Language :: Python', |
31 'Programming Language :: Python :: 2.5', | |
32 'Programming Language :: Python :: 2.6', | |
33 'Programming Language :: Python :: 2.7', ] | |
30 | 34 |
31 if py_version < (2, 6): | 35 if py_version < (2, 6): |
32 requirements.append("simplejson") | 36 requirements.append("simplejson") |
33 requirements.append("pysqlite") | 37 requirements.append("pysqlite") |
34 | 38 |
43 #additional files that goes into package itself | 47 #additional files that goes into package itself |
44 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], } | 48 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], } |
45 | 49 |
46 description = ('Mercurial repository browser/management with ' | 50 description = ('Mercurial repository browser/management with ' |
47 'build in push/pull server and full text search') | 51 'build in push/pull server and full text search') |
48 keywords = ' '.join (['rhodecode', 'rhodiumcode', 'mercurial', 'git', | 52 keywords = ' '.join(['rhodecode', 'rhodiumcode', 'mercurial', 'git', |
49 'repository management', 'hgweb replacement' | 53 'repository management', 'hgweb replacement' |
50 'hgwebdir', 'gitweb replacement', 'serving hgweb', | 54 'hgwebdir', 'gitweb replacement', 'serving hgweb', ]) |
51 ]) | |
52 #long description | 55 #long description |
53 try: | 56 try: |
54 readme_file = 'README.rst' | 57 readme_file = 'README.rst' |
55 changelog_file = 'docs/changelog.rst' | 58 changelog_file = 'docs/changelog.rst' |
56 long_description = open(readme_file).read() + '\n\n' + \ | 59 long_description = open(readme_file).read() + '\n\n' + \ |
76 name='RhodeCode', | 79 name='RhodeCode', |
77 version=get_version(), | 80 version=get_version(), |
78 description=description, | 81 description=description, |
79 long_description=long_description, | 82 long_description=long_description, |
80 keywords=keywords, | 83 keywords=keywords, |
81 license='GPLv3', | 84 license=__license__, |
82 author='Marcin Kuzminski', | 85 author='Marcin Kuzminski', |
83 author_email='marcin@python-works.com', | 86 author_email='marcin@python-works.com', |
84 url='http://rhodecode.org', | 87 url='http://rhodecode.org', |
85 install_requires=requirements, | 88 install_requires=requirements, |
86 classifiers=classifiers, | 89 classifiers=classifiers, |
106 | 109 |
107 [paste.global_paster_command] | 110 [paste.global_paster_command] |
108 make-index = rhodecode.lib.indexers:MakeIndex | 111 make-index = rhodecode.lib.indexers:MakeIndex |
109 upgrade-db = rhodecode.lib.dbmigrate:UpgradeDb | 112 upgrade-db = rhodecode.lib.dbmigrate:UpgradeDb |
110 celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand | 113 celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand |
111 celerybeat=rhodecode.lib.celerypylons.commands:CeleryBeatCommand | |
112 camqadm=rhodecode.lib.celerypylons.commands:CAMQPAdminCommand | |
113 celeryev=rhodecode.lib.celerypylons.commands:CeleryEventCommand | |
114 | |
115 """, | 114 """, |
116 ) | 115 ) |