From 00e6736c8f74624f9c5b063a9a15f717597baa4c Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sun, 8 May 2011 21:24:26 +0200 Subject: configure.py updated for the last TLS changes The script still looked for Python >= 2.3 and M2Crypto instead of Python 2.6 --- configure.py | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/configure.py b/configure.py index 2c32f46..53230cc 100755 --- a/configure.py +++ b/configure.py @@ -12,8 +12,8 @@ if not d: os.chdir(d) print "Checking for python version...", sys.version.replace("\n", " ") -if sys.hexversion < 0x02030000: - print >>sys.stderr, "ERROR: Python 2.3 or newer is required" +if sys.hexversion < 0x02060000: + print >>sys.stderr, "ERROR: Python 2.6 or newer is required" sys.exit(1) print "Checking for dnspython...", @@ -35,16 +35,6 @@ except ImportError: sys.exit(1) print "found" -print "Checking for M2Crypto...", -try: - from M2Crypto import SSL - from M2Crypto.SSL import SSLError - import M2Crypto.SSL.cb - print "version %s found. Hope it will work." % (M2Crypto.version,) -except ImportError: - print "not found" - print >>sys.stderr, "Warning: You need M2Crypto (some good version) for StartTLS support in PyXMPP" - print "Trying to build the binary extension...", build_cfg = file("build.cfg", "w") print >>build_cfg, "python_only = False" -- cgit v1.2.3