Mercurial > kallithea
diff rhodecode/__init__.py @ 1118:b0e2c949c34b beta
Fixed Windows installation based on work of Mantis406 fork: "Replace py-bcrypt to make Windows installation easier"
RhodeCode will now detect the platform and use sha256 hashes when used on Windows.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 09 Mar 2011 19:08:34 +0100 |
parents | 07a6e8c65526 |
children | 07963dd1f0f1 |
line wrap: on
line diff
--- a/rhodecode/__init__.py Wed Mar 09 16:34:29 2011 +0100 +++ b/rhodecode/__init__.py Wed Mar 09 19:08:34 2011 +0100 @@ -25,11 +25,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. - +import platform VERSION = (1, 2, 0, 'beta') __version__ = '.'.join((str(each) for each in VERSION[:4])) __dbversion__ = 3 #defines current db version for migrations +__platform__ = platform.system() try: from rhodecode.lib.utils import get_current_revision @@ -48,5 +49,5 @@ BACKENDS = { 'hg': 'Mercurial repository', - #'git': 'Git repository', + #'git': 'Git repository', }