From 7f7e1d30a10d11c2f94c45def367d6949b171913 Mon Sep 17 00:00:00 2001 From: Yuta Date: Sun, 29 May 2011 21:29:09 +0900 Subject: [PATCH] added 2.5.6 --- pythonbrew/etc/config.cfg | 3 +++ pythonbrew/installer/pythoninstaller.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pythonbrew/etc/config.cfg b/pythonbrew/etc/config.cfg index 48ee4a3..22cbe55 100644 --- a/pythonbrew/etc/config.cfg +++ b/pythonbrew/etc/config.cfg @@ -109,6 +109,9 @@ url = http://www.python.org/ftp/python/2.5.4/Python-2.5.4.tgz [Python-2.5.5] url = http://www.python.org/ftp/python/2.5.5/Python-2.5.5.tgz + +[Python-2.5.6] +url = http://www.python.org/ftp/python/2.5.6/Python-2.5.6.tgz latest = True [Python-2.6] diff --git a/pythonbrew/installer/pythoninstaller.py b/pythonbrew/installer/pythoninstaller.py index 48143ab..2c487ab 100644 --- a/pythonbrew/installer/pythoninstaller.py +++ b/pythonbrew/installer/pythoninstaller.py @@ -185,7 +185,7 @@ class PythonInstallerMacOSX(PythonInstaller): super(PythonInstallerMacOSX, self).__init__(arg, options) version = self.pkg.version # check for version - if version < '2.6' and (version != '2.4.6' and version != '2.5.5'): + if version < '2.6' and (version != '2.4.6' and version < '2.5.5'): logger.info("`%s` is not supported on MacOSX Snow Leopard" % self.pkg.name) raise NotSupportedVersionException # set configure options