Is there any way to specify in setup.py that a particular distribution requires e.g. Python 2.2, such that an error is issued if users try to install it on an earlier Python version?
import sys if sys.version < '2.2': print 'Wrong Python Version !!!' sys.exit(1)
Yes, but I assume this won't show up when e.g. executing a binary installer for Windows?