Show More
@@ -1,78 +1,79 b'' | |||
|
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", |
|
8 | "babel", | |
|
9 | 8 | "Mako>=0.3.2", |
|
10 |
"vcs>=0.1. |
|
|
9 | "vcs>=0.1.8", | |
|
11 | 10 | "pygments>=1.3.0", |
|
12 | 11 | "mercurial>=1.6", |
|
13 | 12 | "whoosh==1.0.0", |
|
13 | "celery>=2.0.0", | |
|
14 | 14 | "py-bcrypt", |
|
15 |
" |
|
|
15 | "babel", | |
|
16 | 16 | ] |
|
17 | 17 | |
|
18 | 18 | if sys.version_info < (2, 6): |
|
19 | 19 | requirements.append("simplejson") |
|
20 | 20 | requirements.append("pysqlite") |
|
21 | 21 | |
|
22 | 22 | #additional files from project that goes somewhere in the filesystem |
|
23 | 23 | #relative to sys.prefix |
|
24 | 24 | data_files = [] |
|
25 | 25 | |
|
26 | 26 | #additional files that goes into package itself |
|
27 | 27 | package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], } |
|
28 | 28 | |
|
29 | description = 'Mercurial repository serving and browsing app' | |
|
29 | 30 | #long description |
|
30 | 31 | try: |
|
31 | 32 | readme_file = 'README.rst' |
|
32 | 33 | long_description = open(readme_file).read() |
|
33 | 34 | except IOError, err: |
|
34 | 35 | sys.stderr.write("[ERROR] Cannot find file specified as " |
|
35 | 36 | "long_description (%s)\n" % readme_file) |
|
36 | sys.exit(1) | |
|
37 | long_description = description | |
|
37 | 38 | |
|
38 | 39 | |
|
39 | 40 | try: |
|
40 | 41 | from setuptools import setup, find_packages |
|
41 | 42 | except ImportError: |
|
42 | 43 | from ez_setup import use_setuptools |
|
43 | 44 | use_setuptools() |
|
44 | 45 | from setuptools import setup, find_packages |
|
45 | 46 | #packages |
|
46 | 47 | packages = find_packages(exclude=['ez_setup']) |
|
47 | 48 | |
|
48 | 49 | setup( |
|
49 | 50 | name='RhodeCode', |
|
50 | 51 | version=get_version(), |
|
51 | description='Mercurial repository serving and browsing app', | |
|
52 | description=description, | |
|
52 | 53 | long_description=long_description, |
|
53 | 54 | keywords='mercurial web hgwebdir replacement serving hgweb rhodecode', |
|
54 | 55 | license='BSD', |
|
55 | 56 | author='Marcin Kuzminski', |
|
56 | 57 | author_email='marcin@python-works.com', |
|
57 | 58 | url='http://hg.python-works.com', |
|
58 | 59 | install_requires=requirements, |
|
59 | 60 | setup_requires=["PasteScript>=1.6.3"], |
|
60 | 61 | data_files=data_files, |
|
61 | 62 | packages=packages, |
|
62 | 63 | include_package_data=True, |
|
63 | 64 | test_suite='nose.collector', |
|
64 | 65 | package_data=package_data, |
|
65 | 66 | message_extractors={'rhodecode': [ |
|
66 | 67 | ('**.py', 'python', None), |
|
67 | 68 | ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), |
|
68 | 69 | ('public/**', 'ignore', None)]}, |
|
69 | 70 | zip_safe=False, |
|
70 | 71 | paster_plugins=['PasteScript', 'Pylons'], |
|
71 | 72 | entry_points=""" |
|
72 | 73 | [paste.app_factory] |
|
73 | 74 | main = rhodecode.config.middleware:make_app |
|
74 | 75 | |
|
75 | 76 | [paste.app_install] |
|
76 | 77 | main = pylons.util:PylonsInstaller |
|
77 | 78 | """, |
|
78 | 79 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now