Check for at least having a final release of python 2.3.0 in setup.py
authorThomas Arendsen Hein <thomas@intevation.de>
Tue, 31 Oct 2006 10:50:16 +0100
changeset 3590 231e61de692c
parent 3589 1c9b6f1237e0
child 3596 0611e851b9db
Check for at least having a final release of python 2.3.0 in setup.py Mercurial uses features that are not in 2.3a1.
setup.py
--- a/setup.py	Mon Oct 30 16:14:38 2006 -0800
+++ b/setup.py	Tue Oct 31 10:50:16 2006 +0100
@@ -6,7 +6,7 @@
 # './setup.py --help' for more options
 
 import sys
-if not hasattr(sys, 'version_info') or sys.version_info < (2, 3):
+if not hasattr(sys, 'version_info') or sys.version_info < (2, 3, 0, 'final'):
     raise SystemExit, "Mercurial requires python 2.3 or later."
 
 import os