Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Jajcus/pyxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Konieczny <jajcus@jajcus.net>2011-05-08 23:24:26 +0400
committerJacek Konieczny <jajcus@jajcus.net>2011-05-08 23:24:26 +0400
commit00e6736c8f74624f9c5b063a9a15f717597baa4c (patch)
treeaaedf1cf3b16c969730e6a8bc8f04033c2b60375
parentbddc2e7bf59b76236234d97b84787d28bc51e39b (diff)
configure.py updated for the last TLS changes
The script still looked for Python >= 2.3 and M2Crypto instead of Python 2.6
-rwxr-xr-xconfigure.py14
1 files 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"