Mercurial > kallithea
comparison setup.py @ 4186:7e5f8c12a3fc kallithea-2.2.5-rebrand
First step in two-part process to rename directories to kallithea.
This first step is to change all references in the files where they refer
to the old directory name.
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:04:28 -0400 |
parents | aaa7c3331186 |
children | 9793473d74be |
comparison
equal
deleted
inserted
replaced
4185:aaa7c3331186 | 4186:7e5f8c12a3fc |
---|---|
17 if not callable(callback_handler): | 17 if not callable(callback_handler): |
18 callback_handler = lambda v: v | 18 callback_handler = lambda v: v |
19 | 19 |
20 return callback_handler(eval(matches.groups()[0])) | 20 return callback_handler(eval(matches.groups()[0])) |
21 | 21 |
22 _meta = open(os.path.join(here, 'rhodecode', '__init__.py'), 'rb') | 22 _meta = open(os.path.join(here, 'kallithea', '__init__.py'), 'rb') |
23 _metadata = _meta.read() | 23 _metadata = _meta.read() |
24 _meta.close() | 24 _meta.close() |
25 | 25 |
26 callback = lambda V: ('.'.join(map(str, V[:3])) + '.'.join(V[3:])) | 26 callback = lambda V: ('.'.join(map(str, V[:3])) + '.'.join(V[3:])) |
27 __version__ = _get_meta_var('VERSION', _metadata, callback) | 27 __version__ = _get_meta_var('VERSION', _metadata, callback) |
93 # additional files from project that goes somewhere in the filesystem | 93 # additional files from project that goes somewhere in the filesystem |
94 # relative to sys.prefix | 94 # relative to sys.prefix |
95 data_files = [] | 95 data_files = [] |
96 | 96 |
97 # additional files that goes into package itself | 97 # additional files that goes into package itself |
98 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], } | 98 package_data = {'kallithea': ['i18n/*/LC_MESSAGES/*.mo', ], } |
99 | 99 |
100 description = ('RhodeCode is a fast and powerful management tool ' | 100 description = ('RhodeCode is a fast and powerful management tool ' |
101 'for Mercurial and GIT with a built in push/pull server, ' | 101 'for Mercurial and GIT with a built in push/pull server, ' |
102 'full text search and code-review.') | 102 'full text search and code-review.') |
103 | 103 |
104 keywords = ' '.join([ | 104 keywords = ' '.join([ |
105 'rhodecode', 'rhodiumcode', 'mercurial', 'git', 'code review', | 105 'kallithea', 'mercurial', 'git', 'code review', |
106 'repo groups', 'ldap', 'repository management', 'hgweb replacement', | 106 'repo groups', 'ldap', 'repository management', 'hgweb replacement', |
107 'hgwebdir', 'gitweb replacement', 'serving hgweb', | 107 'hgwebdir', 'gitweb replacement', 'serving hgweb', |
108 ]) | 108 ]) |
109 | 109 |
110 # long description | 110 # long description |
147 data_files=data_files, | 147 data_files=data_files, |
148 packages=packages, | 148 packages=packages, |
149 include_package_data=True, | 149 include_package_data=True, |
150 test_suite='nose.collector', | 150 test_suite='nose.collector', |
151 package_data=package_data, | 151 package_data=package_data, |
152 message_extractors={'rhodecode': [ | 152 message_extractors={'kallithea': [ |
153 ('**.py', 'python', None), | 153 ('**.py', 'python', None), |
154 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), | 154 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), |
155 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}), | 155 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}), |
156 ('public/**', 'ignore', None)]}, | 156 ('public/**', 'ignore', None)]}, |
157 zip_safe=False, | 157 zip_safe=False, |
158 paster_plugins=['PasteScript', 'Pylons'], | 158 paster_plugins=['PasteScript', 'Pylons'], |
159 entry_points=""" | 159 entry_points=""" |
160 [console_scripts] | 160 [console_scripts] |
161 rhodecode-api = rhodecode.bin.rhodecode_api:main | 161 rhodecode-api = kallithea.bin.rhodecode_api:main |
162 rhodecode-gist = rhodecode.bin.rhodecode_gist:main | 162 rhodecode-gist = kallithea.bin.rhodecode_gist:main |
163 rhodecode-config = rhodecode.bin.rhodecode_config:main | 163 rhodecode-config = kallithea.bin.rhodecode_config:main |
164 | 164 |
165 [paste.app_factory] | 165 [paste.app_factory] |
166 main = rhodecode.config.middleware:make_app | 166 main = kallithea.config.middleware:make_app |
167 | 167 |
168 [paste.app_install] | 168 [paste.app_install] |
169 main = pylons.util:PylonsInstaller | 169 main = pylons.util:PylonsInstaller |
170 | 170 |
171 [paste.global_paster_command] | 171 [paste.global_paster_command] |
172 setup-db=rhodecode.lib.paster_commands.setup_db:Command | 172 setup-db=kallithea.lib.paster_commands.setup_db:Command |
173 update-repoinfo=rhodecode.lib.paster_commands.update_repoinfo:Command | 173 update-repoinfo=kallithea.lib.paster_commands.update_repoinfo:Command |
174 make-rcext=rhodecode.lib.paster_commands.make_rcextensions:Command | 174 make-rcext=kallithea.lib.paster_commands.make_rcextensions:Command |
175 repo-scan=rhodecode.lib.paster_commands.repo_scan:Command | 175 repo-scan=kallithea.lib.paster_commands.repo_scan:Command |
176 cache-keys=rhodecode.lib.paster_commands.cache_keys:Command | 176 cache-keys=kallithea.lib.paster_commands.cache_keys:Command |
177 ishell=rhodecode.lib.paster_commands.ishell:Command | 177 ishell=kallithea.lib.paster_commands.ishell:Command |
178 make-index=rhodecode.lib.paster_commands.make_index:Command | 178 make-index=kallithea.lib.paster_commands.make_index:Command |
179 upgrade-db=rhodecode.lib.dbmigrate:UpgradeDb | 179 upgrade-db=kallithea.lib.dbmigrate:UpgradeDb |
180 celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand | 180 celeryd=kallithea.lib.celerypylons.commands:CeleryDaemonCommand |
181 """, | 181 """, |
182 ) | 182 ) |