Mercurial > kallithea
diff rhodecode/__init__.py @ 3797:d7488551578e beta
synced vcs with upstream
- moved subprocessio module to VCS
- many small changes to make embedded vcs as similar to to external lib
- use only absolute imports
- patch vcs config during load pylons env
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 27 Apr 2013 11:24:25 +0200 |
parents | 7e3d89d9d3a2 |
children | 3a1cf70e0f42 |
line wrap: on
line diff
--- a/rhodecode/__init__.py Sat Apr 27 11:45:27 2013 +0200 +++ b/rhodecode/__init__.py Sat Apr 27 11:24:25 2013 +0200 @@ -27,6 +27,19 @@ import platform VERSION = (1, 7, 0, 'dev') +BACKENDS = { + 'hg': 'Mercurial repository', + 'git': 'Git repository', +} + +CELERY_ON = False +CELERY_EAGER = False + +# link to config for pylons +CONFIG = {} + +# Linked module for extensions +EXTENSIONS = {} try: from rhodecode.lib import get_current_revision @@ -45,23 +58,5 @@ __author__ = 'Marcin Kuzminski' __url__ = 'http://rhodecode.org' -PLATFORM_WIN = ('Windows') -PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS') #depracated - -is_windows = __platform__ in PLATFORM_WIN +is_windows = __platform__ in ('Windows') is_unix = not is_windows - - -BACKENDS = { - 'hg': 'Mercurial repository', - 'git': 'Git repository', -} - -CELERY_ON = False -CELERY_EAGER = False - -# link to config for pylons -CONFIG = {} - -# Linked module for extensions -EXTENSIONS = {}