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