##// END OF EJS Templates
Fixed i18n installation
marcink -
r589:36d54d44 default
parent child Browse files
Show More
@@ -1,11 +1,14 b''
1 1 include rhodecode/config/deployment.ini_tmpl
2 2
3 include README.rst
4 recursive-include rhodecode/i18n/ *
5
3 6 #images
4 7 recursive-include rhodecode/public/css *
5 8 recursive-include rhodecode/public/images *
6 9 #js
7 10 include rhodecode/public/js/yui2.js
8 11 include rhodecode/public/js/excanvas.min.js
9 12 include rhodecode/public/js/yui.flot.js
10 13 #templates
11 14 recursive-include rhodecode/templates *
@@ -1,42 +1,34 b''
1 1 [egg_info]
2 tag_build = rc2
2 tag_build = rc3
3 3 tag_svn_revision = true
4 4
5 5 [easy_install]
6 6 find_links = http://www.pylonshq.com/download/
7 7
8 8 [nosetests]
9 9 verbose=True
10 10 verbosity=2
11 11 with-pylons=test.ini
12 12 detailed-errors=1
13 13
14 14 # Babel configuration
15 15 [compile_catalog]
16 16 domain = rhodecode
17 17 directory = rhodecode/i18n
18 18 statistics = true
19 19
20 20 [extract_messages]
21 21 add_comments = TRANSLATORS:
22 22 output_file = rhodecode/i18n/rhodecode.pot
23 23 width = 80
24 24
25 25 [init_catalog]
26 26 domain = rhodecode
27 27 input_file = rhodecode/i18n/rhodecode.pot
28 28 output_dir = rhodecode/i18n
29 29
30 30 [update_catalog]
31 31 domain = rhodecode
32 32 input_file = rhodecode/i18n/rhodecode.pot
33 33 output_dir = rhodecode/i18n
34 34 previous = true
35
36 [build_sphinx]
37 source-dir = docs/
38 build-dir = docs/_build
39 all_files = 1
40
41 [upload_sphinx]
42 upload-dir = docs/_build/html
@@ -1,88 +1,88 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 8 "Mako>=0.3.2",
9 9 "vcs>=0.1.8",
10 10 "pygments>=1.3.0",
11 11 "mercurial>=1.6",
12 12 "whoosh==1.0.0",
13 13 "celery>=2.0.0",
14 14 "py-bcrypt",
15 15 "babel",
16 16 ]
17 17
18 18 classifiers = ['Development Status :: 4 - Beta',
19 19 'Environment :: Web Environment',
20 20 'Framework :: Pylons',
21 21 'Intended Audience :: Developers',
22 22 'License :: OSI Approved :: BSD License',
23 23 'Operating System :: OS Independent',
24 24 'Programming Language :: Python', ]
25 25
26 26 if sys.version_info < (2, 6):
27 27 requirements.append("simplejson")
28 28 requirements.append("pysqlite")
29 29
30 30 #additional files from project that goes somewhere in the filesystem
31 31 #relative to sys.prefix
32 32 data_files = []
33 33
34 34 #additional files that goes into package itself
35 35 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
36 36
37 37 description = 'Mercurial repository serving and browsing app'
38 38 #long description
39 39 try:
40 40 readme_file = 'README.rst'
41 41 long_description = open(readme_file).read()
42 42 except IOError, err:
43 sys.stderr.write("[ERROR] Cannot find file specified as "
44 "long_description (%s)\n" % readme_file)
43 sys.stderr.write("[WARNING] Cannot find file specified as "
44 "long_description (%s)\n skipping that file" % readme_file)
45 45 long_description = description
46 46
47 47
48 48 try:
49 49 from setuptools import setup, find_packages
50 50 except ImportError:
51 51 from ez_setup import use_setuptools
52 52 use_setuptools()
53 53 from setuptools import setup, find_packages
54 54 #packages
55 55 packages = find_packages(exclude=['ez_setup'])
56 56
57 57 setup(
58 58 name='RhodeCode',
59 59 version=get_version(),
60 60 description=description,
61 61 long_description=long_description,
62 62 keywords='rhodiumcode mercurial web hgwebdir replacement serving hgweb rhodecode',
63 63 license='BSD',
64 64 author='Marcin Kuzminski',
65 65 author_email='marcin@python-works.com',
66 66 url='http://hg.python-works.com',
67 67 install_requires=requirements,
68 68 classifiers=classifiers,
69 69 setup_requires=["PasteScript>=1.6.3"],
70 70 data_files=data_files,
71 71 packages=packages,
72 72 include_package_data=True,
73 73 test_suite='nose.collector',
74 74 package_data=package_data,
75 75 message_extractors={'rhodecode': [
76 76 ('**.py', 'python', None),
77 77 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
78 78 ('public/**', 'ignore', None)]},
79 79 zip_safe=False,
80 80 paster_plugins=['PasteScript', 'Pylons'],
81 81 entry_points="""
82 82 [paste.app_factory]
83 83 main = rhodecode.config.middleware:make_app
84 84
85 85 [paste.app_install]
86 86 main = pylons.util:PylonsInstaller
87 87 """,
88 88 )
General Comments 0
You need to be logged in to leave comments. Login now