Mercurial > public > mercurial-scm > hg-stable
diff setup.py @ 3590:231e61de692c
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.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 31 Oct 2006 10:50:16 +0100 |
parents | 1f2c3983a6c5 |
children | abaee83ce0a6 5f05157bf9be |
line wrap: on
line diff
--- 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