setup: require Python 2.4
authorMartin Geisler <mg@lazybytes.net>
Sun, 03 May 2009 17:36:58 +0200
changeset 8286 707bc82ba0d7
parent 8285 262738574aff
child 8287 824ed0e35480
setup: require Python 2.4
setup.py
--- 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: