Mercurial > kallithea
comparison setup.py @ 1136:93b980ebee55
changes for release 1.1.5
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 17 Mar 2011 01:13:48 +0100 |
parents | af6ca51fb80f |
children | 49032f99b4ab |
comparison
equal
deleted
inserted
replaced
1095:3cdacd152b24 | 1136:93b980ebee55 |
---|---|
1 import sys | 1 import sys |
2 from rhodecode import get_version | |
3 from rhodecode import __platform__ | |
4 | |
2 py_version = sys.version_info | 5 py_version = sys.version_info |
3 | |
4 from rhodecode import get_version | |
5 | 6 |
6 requirements = [ | 7 requirements = [ |
7 "Pylons==1.0.0", | 8 "Pylons==1.0.0", |
8 "WebHelpers==1.2", | 9 "WebHelpers==1.2", |
9 "SQLAlchemy==0.6.6", | 10 "SQLAlchemy==0.6.6", |
10 "Mako==0.3.6", | 11 "Mako==0.4.0", |
11 "vcs==0.1.10", | 12 "vcs==0.1.11", |
12 "pygments==1.3.1", | 13 "pygments==1.4.0", |
13 "mercurial==1.7.5", | 14 "mercurial==1.7.5", |
14 "whoosh==1.3.4", | 15 "whoosh==1.3.4", |
15 "celery==2.1.4", | 16 "celery==2.2.4", |
16 "py-bcrypt", | |
17 "babel", | 17 "babel", |
18 ] | 18 ] |
19 | 19 |
20 classifiers = ['Development Status :: 5 - Production/Stable', | 20 classifiers = ['Development Status :: 5 - Production/Stable', |
21 'Environment :: Web Environment', | 21 'Environment :: Web Environment', |
23 'Intended Audience :: Developers', | 23 'Intended Audience :: Developers', |
24 'License :: OSI Approved :: BSD License', | 24 'License :: OSI Approved :: BSD License', |
25 'Operating System :: OS Independent', | 25 'Operating System :: OS Independent', |
26 'Programming Language :: Python', ] | 26 'Programming Language :: Python', ] |
27 | 27 |
28 if sys.version_info < (2, 6): | 28 if py_version < (2, 6): |
29 requirements.append("simplejson") | 29 requirements.append("simplejson") |
30 requirements.append("pysqlite") | 30 requirements.append("pysqlite") |
31 | |
32 if __platform__ in ('Linux', 'Darwin'): | |
33 requirements.append("py-bcrypt") | |
34 | |
31 | 35 |
32 #additional files from project that goes somewhere in the filesystem | 36 #additional files from project that goes somewhere in the filesystem |
33 #relative to sys.prefix | 37 #relative to sys.prefix |
34 data_files = [] | 38 data_files = [] |
35 | 39 |
36 #additional files that goes into package itself | 40 #additional files that goes into package itself |
37 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], } | 41 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], } |
38 | 42 |
39 description = ('Mercurial repository browser/management with ' | 43 description = ('Mercurial repository browser/management with ' |
40 'build in push/pull server and full text search') | 44 'build in push/pull server and full text search') |
45 keywords = ' '.join (['rhodecode', 'rhodiumcode', 'mercurial', 'git', | |
46 'repository management', 'hgweb replacement' | |
47 'hgwebdir', 'gitweb replacement', 'serving hgweb', | |
48 ]) | |
41 #long description | 49 #long description |
42 try: | 50 try: |
43 readme_file = 'README.rst' | 51 readme_file = 'README.rst' |
44 changelog_file = 'docs/changelog.rst' | 52 changelog_file = 'docs/changelog.rst' |
45 long_description = open(readme_file).read() + '\n\n' + \ | 53 long_description = open(readme_file).read() + '\n\n' + \ |
64 setup( | 72 setup( |
65 name='RhodeCode', | 73 name='RhodeCode', |
66 version=get_version(), | 74 version=get_version(), |
67 description=description, | 75 description=description, |
68 long_description=long_description, | 76 long_description=long_description, |
69 keywords='rhodiumcode mercurial web hgwebdir gitweb git replacement serving hgweb rhodecode', | 77 keywords=keywords, |
70 license='BSD', | 78 license='BSD', |
71 author='Marcin Kuzminski', | 79 author='Marcin Kuzminski', |
72 author_email='marcin@python-works.com', | 80 author_email='marcin@python-works.com', |
73 url='http://hg.python-works.com', | 81 url='http://hg.python-works.com', |
74 install_requires=requirements, | 82 install_requires=requirements, |