annotate setup.py @ 3181:efe23d6c178c rhodecode-0.0.1.5.2

merged with beta
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 21 Jan 2013 00:49:59 +0100
parents cd50d1b5f35b
children a602611c49e7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
1 import os
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
2 import sys
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
3 import platform
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
4
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
5 if sys.version_info < (2, 5):
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
6 raise Exception('RhodeCode requires python 2.5 or later')
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
7
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
8
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
9 here = os.path.abspath(os.path.dirname(__file__))
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
10
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
11
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
12 def _get_meta_var(name, data, callback_handler=None):
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
13 import re
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
14 matches = re.compile(r'(?:%s)\s*=\s*(.*)' % name).search(data)
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
15 if matches:
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
16 if not callable(callback_handler):
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
17 callback_handler = lambda v: v
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
18
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
19 return callback_handler(eval(matches.groups()[0]))
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
20
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
21 _meta = open(os.path.join(here, 'rhodecode', '__init__.py'), 'rb')
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
22 _metadata = _meta.read()
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
23 _meta.close()
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
24
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
25 callback = lambda V: ('.'.join(map(str, V[:3])) + '.'.join(V[3:]))
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
26 __version__ = _get_meta_var('VERSION', _metadata, callback)
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
27 __license__ = _get_meta_var('__license__', _metadata)
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
28 __author__ = _get_meta_var('__author__', _metadata)
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
29 __url__ = _get_meta_var('__url__', _metadata)
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
30 # defines current platform
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
31 __platform__ = platform.system()
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
32
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
33 is_windows = __platform__ in _get_meta_var('PLATFORM_WIN', _metadata)
1078
2d7a94f3eaae added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents: 1069
diff changeset
34
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
35 requirements = [
2597
7b092b919f4f Switch to waitress wsgi server by default in rhodecode.
Marcin Kuzminski <marcin@python-works.com>
parents: 2563
diff changeset
36 "waitress==0.8.1",
2715
298bac3757a7 requirements updates
Marcin Kuzminski <marcin@python-works.com>
parents: 2685
diff changeset
37 "webob==1.0.8",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
38 "Pylons==1.0.0",
2715
298bac3757a7 requirements updates
Marcin Kuzminski <marcin@python-works.com>
parents: 2685
diff changeset
39 "Beaker==1.6.4",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
40 "WebHelpers==1.3",
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
41 "formencode==1.2.4",
3000
4034eb731b33 bumped dependencies versions
Marcin Kuzminski <marcin@python-works.com>
parents: 2999
diff changeset
42 "SQLAlchemy==0.7.9",
4034eb731b33 bumped dependencies versions
Marcin Kuzminski <marcin@python-works.com>
parents: 2999
diff changeset
43 "Mako==0.7.3",
2715
298bac3757a7 requirements updates
Marcin Kuzminski <marcin@python-works.com>
parents: 2685
diff changeset
44 "pygments>=1.5",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
45 "whoosh>=2.4.0,<2.5",
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
46 "celery>=2.2.5,<2.3",
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
47 "babel",
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
48 "python-dateutil>=1.5.0,<2.0.0",
3034
a8ea7cbc6a87 bumped dulwich version
Marcin Kuzminski <marcin@python-works.com>
parents: 3006
diff changeset
49 "dulwich>=0.8.7,<0.9.0",
3000
4034eb731b33 bumped dependencies versions
Marcin Kuzminski <marcin@python-works.com>
parents: 2999
diff changeset
50 "markdown==2.2.1",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
51 "docutils==0.8.1",
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
52 "simplejson==2.5.2",
2597
7b092b919f4f Switch to waitress wsgi server by default in rhodecode.
Marcin Kuzminski <marcin@python-works.com>
parents: 2563
diff changeset
53 "mock",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
54 ]
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
55
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
56 if sys.version_info < (2, 6):
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
57 requirements.append("pysqlite")
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
58
2772
d4f6dc38d625 fixed condition for installing unittests2
Marcin Kuzminski <marcin@python-works.com>
parents: 2715
diff changeset
59 if sys.version_info < (2, 7):
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
60 requirements.append("unittest2")
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
61
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
62 if is_windows:
3130
e054a6685b17 bumped mercurial version
Marcin Kuzminski <marcin@python-works.com>
parents: 3060
diff changeset
63 requirements.append("mercurial==2.4.2")
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
64 else:
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
65 requirements.append("py-bcrypt")
3130
e054a6685b17 bumped mercurial version
Marcin Kuzminski <marcin@python-works.com>
parents: 3060
diff changeset
66 requirements.append("mercurial==2.4.2")
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
67
1163
a1fba57f46fa added check for python <2.5 in setup file
Marcin Kuzminski <marcin@python-works.com>
parents: 1143
diff changeset
68
1456
880a39e5d8df fixed setup so it'll fetch tip of vcs for easier installation of beta version
Marcin Kuzminski <marcin@python-works.com>
parents: 1449
diff changeset
69 dependency_links = [
880a39e5d8df fixed setup so it'll fetch tip of vcs for easier installation of beta version
Marcin Kuzminski <marcin@python-works.com>
parents: 1449
diff changeset
70 ]
880a39e5d8df fixed setup so it'll fetch tip of vcs for easier installation of beta version
Marcin Kuzminski <marcin@python-works.com>
parents: 1449
diff changeset
71
1966
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
72 classifiers = [
2031
82a88013a3fd merge 1.3 into stable
Marcin Kuzminski <marcin@python-works.com>
parents: 1965 2007
diff changeset
73 'Development Status :: 5 - Production/Stable',
1966
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
74 'Environment :: Web Environment',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
75 'Framework :: Pylons',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
76 'Intended Audience :: Developers',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
77 'License :: OSI Approved :: GNU General Public License (GPL)',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
78 'Operating System :: OS Independent',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
79 'Programming Language :: Python',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
80 'Programming Language :: Python :: 2.5',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
81 'Programming Language :: Python :: 2.6',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
82 'Programming Language :: Python :: 2.7',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
83 ]
572
a60cd29ba7e2 more docs update
Marcin Kuzminski <marcin@python-works.com>
parents: 565
diff changeset
84
1118
b0e2c949c34b Fixed Windows installation based on work of Mantis406 fork: "Replace py-bcrypt to make Windows installation easier"
Marcin Kuzminski <marcin@python-works.com>
parents: 1103
diff changeset
85
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
86 # additional files from project that goes somewhere in the filesystem
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
87 # relative to sys.prefix
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
88 data_files = []
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
89
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
90 # additional files that goes into package itself
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
91 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
92
717
9985eca2e4d0 updated docs and setup.py docs
Marcin Kuzminski <marcin@python-works.com>
parents: 691
diff changeset
93 description = ('Mercurial repository browser/management with '
681
9c8a817462fe small fixes to docs, and setup file
Marcin Kuzminski <marcin@python-works.com>
parents: 676
diff changeset
94 'build in push/pull server and full text search')
1204
faf31099a70a pep8ify root py files
Marcin Kuzminski <marcin@python-works.com>
parents: 1203
diff changeset
95 keywords = ' '.join(['rhodecode', 'rhodiumcode', 'mercurial', 'git',
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
96 'code review', 'repo groups', 'ldap'
1078
2d7a94f3eaae added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents: 1069
diff changeset
97 'repository management', 'hgweb replacement'
1204
faf31099a70a pep8ify root py files
Marcin Kuzminski <marcin@python-works.com>
parents: 1203
diff changeset
98 'hgwebdir', 'gitweb replacement', 'serving hgweb', ])
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
99 # long description
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
100 try:
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
101 readme_file = 'README.rst'
682
23c2a0e6df0b changed official rhodecode favicon, from hg to some more generic
Marcin Kuzminski <marcin@python-works.com>
parents: 681
diff changeset
102 changelog_file = 'docs/changelog.rst'
868
cc635016933f fixed error in setup.py RST generation, speling fix for README
Marcin Kuzminski <marcin@python-works.com>
parents: 852
diff changeset
103 long_description = open(readme_file).read() + '\n\n' + \
682
23c2a0e6df0b changed official rhodecode favicon, from hg to some more generic
Marcin Kuzminski <marcin@python-works.com>
parents: 681
diff changeset
104 open(changelog_file).read()
23c2a0e6df0b changed official rhodecode favicon, from hg to some more generic
Marcin Kuzminski <marcin@python-works.com>
parents: 681
diff changeset
105
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
106 except IOError, err:
589
36d54d4479db Fixed i18n installation
Marcin Kuzminski <marcin@python-works.com>
parents: 572
diff changeset
107 sys.stderr.write("[WARNING] Cannot find file specified as "
682
23c2a0e6df0b changed official rhodecode favicon, from hg to some more generic
Marcin Kuzminski <marcin@python-works.com>
parents: 681
diff changeset
108 "long_description (%s)\n or changelog (%s) skipping that file" \
23c2a0e6df0b changed official rhodecode favicon, from hg to some more generic
Marcin Kuzminski <marcin@python-works.com>
parents: 681
diff changeset
109 % (readme_file, changelog_file))
565
ad2e97c6f17f small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents: 564
diff changeset
110 long_description = description
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
111
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
112
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
113 try:
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
114 from setuptools import setup, find_packages
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
115 except ImportError:
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
116 from ez_setup import use_setuptools
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
117 use_setuptools()
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
118 from setuptools import setup, find_packages
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
119 # packages
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
120 packages = find_packages(exclude=['ez_setup'])
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
121
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
122 setup(
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
123 name='RhodeCode',
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
124 version=__version__,
565
ad2e97c6f17f small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents: 564
diff changeset
125 description=description,
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
126 long_description=long_description,
1078
2d7a94f3eaae added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents: 1069
diff changeset
127 keywords=keywords,
1205
f4807acf643d added __license__ into main of rhodecode, PEP8ify
Marcin Kuzminski <marcin@python-works.com>
parents: 1204
diff changeset
128 license=__license__,
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
129 author=__author__,
244
782f0692b29c fixed setup and install instructions
Marcin Kuzminski <marcin@python-works.com>
parents: 185
diff changeset
130 author_email='marcin@python-works.com',
1456
880a39e5d8df fixed setup so it'll fetch tip of vcs for easier installation of beta version
Marcin Kuzminski <marcin@python-works.com>
parents: 1449
diff changeset
131 dependency_links=dependency_links,
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
132 url=__url__,
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
133 install_requires=requirements,
572
a60cd29ba7e2 more docs update
Marcin Kuzminski <marcin@python-works.com>
parents: 565
diff changeset
134 classifiers=classifiers,
127
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 0
diff changeset
135 setup_requires=["PasteScript>=1.6.3"],
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
136 data_files=data_files,
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
137 packages=packages,
127
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 0
diff changeset
138 include_package_data=True,
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 0
diff changeset
139 test_suite='nose.collector',
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
140 package_data=package_data,
547
1e757ac98988 renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 538
diff changeset
141 message_extractors={'rhodecode': [
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
142 ('**.py', 'python', None),
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
143 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
1143
0e6035a85980 added changes made in production branch back into beta
Marcin Kuzminski <marcin@python-works.com>
parents: 1118
diff changeset
144 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
145 ('public/**', 'ignore', None)]},
127
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 0
diff changeset
146 zip_safe=False,
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 0
diff changeset
147 paster_plugins=['PasteScript', 'Pylons'],
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 0
diff changeset
148 entry_points="""
2379
7ac09514a178 created rhodecode-api binary script for working with api via cli
Marcin Kuzminski <marcin@python-works.com>
parents: 2289
diff changeset
149 [console_scripts]
7ac09514a178 created rhodecode-api binary script for working with api via cli
Marcin Kuzminski <marcin@python-works.com>
parents: 2289
diff changeset
150 rhodecode-api = rhodecode.bin.rhodecode_api:main
7ac09514a178 created rhodecode-api binary script for working with api via cli
Marcin Kuzminski <marcin@python-works.com>
parents: 2289
diff changeset
151
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
152 [paste.app_factory]
547
1e757ac98988 renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 538
diff changeset
153 main = rhodecode.config.middleware:make_app
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
154
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
155 [paste.app_install]
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
156 main = pylons.util:PylonsInstaller
683
341beaa9edba Implemented whoosh index building as paster command.
Marcin Kuzminski <marcin@python-works.com>
parents: 682
diff changeset
157
341beaa9edba Implemented whoosh index building as paster command.
Marcin Kuzminski <marcin@python-works.com>
parents: 682
diff changeset
158 [paste.global_paster_command]
2289
5893414dea91 renamed setup module into a setup_rhodecode.
Marcin Kuzminski <marcin@python-works.com>
parents: 2284
diff changeset
159 setup-rhodecode=rhodecode.config.setup_rhodecode:SetupCommand
2602
17083006a33d Added cleanup repos script that allows to cleanup removed repos from rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 2597
diff changeset
160 cleanup-repos=rhodecode.lib.cleanup:CleanupCommand
3006
9b95dc7c4570 Implements #648 write Script for updating last modification time for lightweight dashboard
Marcin Kuzminski <marcin@python-works.com>
parents: 3000
diff changeset
161 update-repoinfo=rhodecode.lib.update_repoinfo:UpdateCommand
2105
926f55b038bc added initial rc-extension module
Marcin Kuzminski <marcin@python-works.com>
parents: 2007
diff changeset
162 make-index=rhodecode.lib.indexers:MakeIndex
926f55b038bc added initial rc-extension module
Marcin Kuzminski <marcin@python-works.com>
parents: 2007
diff changeset
163 make-rcext=rhodecode.config.rcextensions.make_rcextensions:MakeRcExt
926f55b038bc added initial rc-extension module
Marcin Kuzminski <marcin@python-works.com>
parents: 2007
diff changeset
164 upgrade-db=rhodecode.lib.dbmigrate:UpgradeDb
775
aaf2fc59a39a fixes #77 and adds extendable base Dn with custom uid specification
Marcin Kuzminski <marcin@python-works.com>
parents: 773
diff changeset
165 celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
166 """,
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
167 )