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