Mercurial > kallithea
comparison setup.py @ 552:2642f128ad46
removed egg info, update files for distutils build
updated READMES some config files
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 06 Oct 2010 15:37:23 +0200 |
parents | f99075170eb4 |
children | 65c27fd21769 |
comparison
equal
deleted
inserted
replaced
551:f57aaf673743 | 552:2642f128ad46 |
---|---|
1 from rhodecode import get_version | 1 from rhodecode import get_version |
2 | |
3 | |
4 requirements = [ | |
5 "Pylons>=1.0.0", | |
6 "SQLAlchemy>=0.6", | |
7 "babel", | |
8 "Mako>=0.3.2", | |
9 "vcs>=0.1.7", | |
10 "pygments>=1.3.0", | |
11 "mercurial>=1.6", | |
12 "pysqlite", | |
13 "whoosh==1.0.0", | |
14 "py-bcrypt", | |
15 "celery", | |
16 ] | |
17 | |
18 #additional files for project | |
19 data_files = [ | |
20 ('init.d', ['init.d/rhodecode-daemon', | |
21 'init.d/rhodecode-daemon2', | |
22 'init.d/celeryd']), | |
23 ('', ['celeryconfig.py', 'production.ini', 'development.ini']), | |
24 ] | |
25 | |
26 | |
27 long_description = '\n' + open('README.rst').read() | |
28 | |
2 try: | 29 try: |
3 from setuptools import setup, find_packages | 30 from setuptools import setup, find_packages |
4 except ImportError: | 31 except ImportError: |
5 from ez_setup import use_setuptools | 32 from ez_setup import use_setuptools |
6 use_setuptools() | 33 use_setuptools() |
7 from setuptools import setup, find_packages | 34 from setuptools import setup, find_packages |
8 | 35 |
9 setup( | 36 setup( |
10 name='RhodeCode-%s' % get_version(), | 37 name='RhodeCode', |
11 version=get_version(), | 38 version=get_version(), |
12 description='Mercurial repository serving and browsing app', | 39 description='Mercurial repository serving and browsing app', |
40 long_description=long_description, | |
13 keywords='mercurial web hgwebdir replacement serving hgweb rhodecode', | 41 keywords='mercurial web hgwebdir replacement serving hgweb rhodecode', |
14 license='BSD', | 42 license='BSD', |
15 author='marcin kuzminski', | 43 author='Marcin Kuzminski', |
16 author_email='marcin@python-works.com', | 44 author_email='marcin@python-works.com', |
17 url='http://hg.python-works.com', | 45 url='http://hg.python-works.com', |
18 install_requires=[ | 46 install_requires=requirements, |
19 "Pylons>=1.0.0", | |
20 "SQLAlchemy>=0.6", | |
21 "babel", | |
22 "Mako>=0.3.2", | |
23 "vcs>=0.1.7", | |
24 "pygments>=1.3.0", | |
25 "mercurial>=1.6", | |
26 "pysqlite", | |
27 "whoosh==1.0.0b20", | |
28 "py-bcrypt", | |
29 "celery", | |
30 ], | |
31 setup_requires=["PasteScript>=1.6.3"], | 47 setup_requires=["PasteScript>=1.6.3"], |
48 data_files=data_files, | |
32 packages=find_packages(exclude=['ez_setup']), | 49 packages=find_packages(exclude=['ez_setup']), |
33 include_package_data=True, | 50 include_package_data=True, |
34 test_suite='nose.collector', | 51 test_suite='nose.collector', |
35 package_data={'rhodecode': ['i18n/*/LC_MESSAGES/*.mo']}, | 52 package_data={'rhodecode': ['i18n/*/LC_MESSAGES/*.mo']}, |
36 message_extractors={'rhodecode': [ | 53 message_extractors={'rhodecode': [ |