[Python-Dev] Windows builds for backported SSL module, please?

Paul Moore p.f.moore at gmail.com
Fri Oct 5 20:02:58 CEST 2007


On 05/10/2007, Bill Janssen <janssen at parc.com> wrote:
> For some reason, it was set to be 'hidden'.
>
> Try
>
>   http://pypi.python.org/pypi/ssl/1.5
>
> Bill

Tiny typo in setup.py (see below). I've fixed it in my copy - it won't
affect the Windows builds, unless you want to release a new version,
when the version number will change :-)

Paul.

--- setup.py.orig	2007-10-05 00:19:04.000000000 +0100
+++ setup.py	2007-10-05 19:01:27.359375000 +0100
@@ -160,7 +160,7 @@
     ssl_incs = [os.environ.get("C_INCLUDE_DIR") or
os.path.join(gnuwin32_dir, "include")]
     ssl_libs = [os.environ.get("C_LIB_DIR") or
os.path.join(gnuwin32_dir, "lib")]
     libs = ['ssl', 'crypto', 'wsock32']
-    if static:
+    if not dynamic:
 	libs = libs + ['gdi32', 'gw32c', 'ole32', 'uuid']
         link_args = ['-static']
 else:


More information about the Python-Dev mailing list