equal
deleted
inserted
replaced
1 #!/usr/bin/env python |
1 #!/usr/bin/env python |
2 # |
2 # |
3 # This is the mercurial setup script. |
3 # This is the mercurial setup script. |
4 # |
4 # |
5 # './setup.py install', or |
5 # 'python setup.py install', or |
6 # './setup.py --help' for more options |
6 # 'python setup.py --help' for more options |
7 |
7 |
8 import sys |
8 import sys |
9 if not hasattr(sys, 'version_info') or sys.version_info < (2, 3, 0, 'final'): |
9 if not hasattr(sys, 'version_info') or sys.version_info < (2, 3, 0, 'final'): |
10 raise SystemExit, "Mercurial requires python 2.3 or later." |
10 raise SystemExit, "Mercurial requires python 2.3 or later." |
11 |
11 |