changeset 8286:707bc82ba0d7

setup: require Python 2.4
author Martin Geisler <mg@lazybytes.net>
date Sun, 03 May 2009 17:36:58 +0200
parents 262738574aff
children 824ed0e35480
files setup.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sun May 03 13:49:04 2009 +0200
+++ b/setup.py	Sun May 03 17:36:58 2009 +0200
@@ -6,8 +6,8 @@
 # 'python setup.py --help' for more options
 
 import sys
-if not hasattr(sys, 'version_info') or sys.version_info < (2, 3, 0, 'final'):
-    raise SystemExit("Mercurial requires python 2.3 or later.")
+if not hasattr(sys, 'version_info') or sys.version_info < (2, 4, 0, 'final'):
+    raise SystemExit("Mercurial requires Python 2.4 or later.")
 
 # Solaris Python packaging brain damage
 try: