comparison setup.py @ 4816:c10d3bc05a8d

setup.py not executable: change instructions at beginning of file
author Christian Ebert <blacktrash@gmx.net>
date Thu, 28 Jun 2007 02:11:54 +0200
parents 02956be66a58
children 4574925db5c0
comparison
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