##// END OF EJS Templates
fixed error in setup.py RST generation
marcink -
r867:d9c8dddb rhodecode-0.0.1.1.0 default
parent child Browse files
Show More
@@ -1,103 +1,103 b''
1 1 import sys
2 2 py_version = sys.version_info
3 3
4 4 from rhodecode import get_version
5 5
6 6 requirements = [
7 7 "Pylons==1.0.0",
8 8 "SQLAlchemy==0.6.5",
9 9 "Mako==0.3.6",
10 10 "vcs==0.1.10",
11 11 "pygments==1.3.1",
12 12 "mercurial==1.7.2",
13 13 "whoosh==1.3.4",
14 14 "celery==2.1.4",
15 15 "py-bcrypt",
16 16 "babel",
17 17 ]
18 18
19 19 classifiers = ['Development Status :: 5 - Production/Stable',
20 20 'Environment :: Web Environment',
21 21 'Framework :: Pylons',
22 22 'Intended Audience :: Developers',
23 23 'License :: OSI Approved :: BSD License',
24 24 'Operating System :: OS Independent',
25 25 'Programming Language :: Python', ]
26 26
27 27 if sys.version_info < (2, 6):
28 28 requirements.append("simplejson")
29 29 requirements.append("pysqlite")
30 30
31 31 #additional files from project that goes somewhere in the filesystem
32 32 #relative to sys.prefix
33 33 data_files = []
34 34
35 35 #additional files that goes into package itself
36 36 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
37 37
38 38 description = ('Mercurial repository browser/management with '
39 39 'build in push/pull server and full text search')
40 40 #long description
41 41 try:
42 42 readme_file = 'README.rst'
43 43 changelog_file = 'docs/changelog.rst'
44 long_description = open(readme_file).read() + '/n/n' + \
44 long_description = open(readme_file).read() + '\n\n' + \
45 45 open(changelog_file).read()
46 46
47 47 except IOError, err:
48 48 sys.stderr.write("[WARNING] Cannot find file specified as "
49 49 "long_description (%s)\n or changelog (%s) skipping that file" \
50 50 % (readme_file, changelog_file))
51 51 long_description = description
52 52
53 53
54 54 try:
55 55 from setuptools import setup, find_packages
56 56 except ImportError:
57 57 from ez_setup import use_setuptools
58 58 use_setuptools()
59 59 from setuptools import setup, find_packages
60 60 #packages
61 61 packages = find_packages(exclude=['ez_setup'])
62 62
63 63 setup(
64 64 name='RhodeCode',
65 65 version=get_version(),
66 66 description=description,
67 67 long_description=long_description,
68 68 keywords='rhodiumcode mercurial web hgwebdir gitweb git replacement serving hgweb rhodecode',
69 69 license='BSD',
70 70 author='Marcin Kuzminski',
71 71 author_email='marcin@python-works.com',
72 72 url='http://hg.python-works.com',
73 73 install_requires=requirements,
74 74 classifiers=classifiers,
75 75 setup_requires=["PasteScript>=1.6.3"],
76 76 data_files=data_files,
77 77 packages=packages,
78 78 include_package_data=True,
79 79 test_suite='nose.collector',
80 80 package_data=package_data,
81 81 message_extractors={'rhodecode': [
82 82 ('**.py', 'python', None),
83 83 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
84 84 ('public/**', 'ignore', None)]},
85 85 zip_safe=False,
86 86 paster_plugins=['PasteScript', 'Pylons'],
87 87 entry_points="""
88 88 [paste.app_factory]
89 89 main = rhodecode.config.middleware:make_app
90 90
91 91 [paste.app_install]
92 92 main = pylons.util:PylonsInstaller
93 93
94 94 [paste.global_paster_command]
95 95 make-index = rhodecode.lib.indexers:MakeIndex
96 96 upgrade-db = rhodecode.lib.dbmigrate:UpgradeDb
97 97 celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand
98 98 celerybeat=rhodecode.lib.celerypylons.commands:CeleryBeatCommand
99 99 camqadm=rhodecode.lib.celerypylons.commands:CAMQPAdminCommand
100 100 celeryev=rhodecode.lib.celerypylons.commands:CeleryEventCommand
101 101
102 102 """,
103 103 )
General Comments 0
You need to be logged in to leave comments. Login now