##// END OF EJS Templates
Added check for minimal python version to setup.py
Thomas Arendsen Hein -
r1873:205f04b0 default
parent child Browse files
Show More
@@ -5,8 +5,11 b''
5 # './setup.py install', or
5 # './setup.py install', or
6 # './setup.py --help' for more options
6 # './setup.py --help' for more options
7
7
8 import sys
9 if not hasattr(sys, 'version_info') or sys.version_info < (2, 3):
10 raise SystemExit, "Mercurial requires python 2.3 or later."
11
8 import glob
12 import glob
9 import sys
10 from distutils.core import setup, Extension
13 from distutils.core import setup, Extension
11 from distutils.command.install_data import install_data
14 from distutils.command.install_data import install_data
12
15
General Comments 0
You need to be logged in to leave comments. Login now