Mercurial > hg > mercurial-crew-with-dirclash
diff setup.py @ 1920:b7cc0f323a4c
merge with crew.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sun, 12 Mar 2006 16:21:59 -0800 |
parents | 205f04b04ec6 |
children | 7eb694a1c1af |
line wrap: on
line diff
--- a/setup.py +++ b/setup.py @@ -5,8 +5,11 @@ # './setup.py install', or # './setup.py --help' for more options +import sys +if not hasattr(sys, 'version_info') or sys.version_info < (2, 3): + raise SystemExit, "Mercurial requires python 2.3 or later." + import glob -import sys from distutils.core import setup, Extension from distutils.command.install_data import install_data