Alright, here is the patch in a usable form.
New patches:

[import fixes
[EMAIL PROTECTED] {
hunk ./requirements.py 52
+       import wxversion
+       wxversion.ensureMinimal("2.6")
+except ImportError:
+       pass
+try:
hunk ./requirements.py 101
-       print e
-
-       reason = "Installing pyOpenSSL allows the client to check if the host 
you are connecting to has a valid certificate."
-       if system == "debian-based":
-               recommended.append(("python-pyopenssl", reason))
-       else:
-               recommended.append(("pyOpenSSL", reason))
+       try:
+               import OpenSSL as pyOpenSSL
+       except:
+               print e
+       
+               reason = "Installing pyOpenSSL allows the client to check if 
the host you are connecting to has a valid certificate."
+               if system == "debian-based":
+                       recommended.append(("python-pyopenssl", reason))
+               else:
+                       recommended.append(("pyOpenSSL", reason))
}

Context:

[Source for the manual.
[EMAIL PROTECTED] 
[TAG TPCLIENT_PYWX_0_2_2
[EMAIL PROTECTED] 
Patch bundle hash:
2127700d128b892d3d821de5c02436fc56ee6f3c
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to