Browse files updated for the last TLS changes

The script still looked for Python >= 2.3 and M2Crypto instead
of Python 2.6
  • Loading branch information...
Jajcus committed May 8, 2011
1 parent bddc2e7 commit 00e6736c8f74624f9c5b063a9a15f717597baa4c
Showing with 2 additions and 12 deletions.
  1. +2 −12
@@ -12,8 +12,8 @@

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"

print "Checking for dnspython...",
@@ -35,16 +35,6 @@
print "found"

print "Checking for M2Crypto...",
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"

0 comments on commit 00e6736

Please sign in to comment.