Commit 5e3a2376 authored by Stefan Behnel's avatar Stefan Behnel

be more informative about current Python version when it's too old (might be...

be more informative about current Python version when it's too old (might be automatically selected by shebang)
parent a98b53b7
......@@ -4,7 +4,7 @@
import os, sys, re, codecs
if sys.version_info[:2] < (2, 6) or (3, 0) <= sys.version_info[:2] < (3, 2):
sys.stderr.write("Sorry, Cython requires Python 2.6+ or 3.2+\n")
sys.stderr.write("Sorry, Cython requires Python 2.6+ or 3.2+, found %d.%d\n" % tuple(sys.version_info[:2]))
sys.exit(1)
import Errors
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment