setup.py
changeset 4816 c10d3bc05a8d
parent 4628 02956be66a58
child 4897 4574925db5c0
equal deleted inserted replaced
4815:5cc184800bf2 4816:c10d3bc05a8d
     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