[Python-Dev] Windows package for new SSL package? (original) (raw)

Mark Hammond mhammond at skippinet.com.au
Thu Sep 13 01:22:48 CEST 2007


I can't figure out how to build a Windows package for ssl-1.1.tar.gz, and probably don't have the tools to do it anyway. I presume that both a Windows machine and Visual Studio (because there's a C extension) is required?

Anyone out there who's interested in the challenge? It's at http://www.parc.com/janssen/transient/ssl-1.1.tar.gz.

I had a bit of a look at this. I think I managed to get it building:

ssl_incs, ssl_libs, libs = find_ssl() ... ext_modules=[Extension('ssl._ssl2', ['ssl/_ssl2.c'], include_dirs = ssl_incs + [socket_inc], library_dirs = ssl_libs, libraries = ['ssl', 'crypto'], depends = ['ssl/socketmodule.h'])],

The 'libraries =' line probably means to pass 'libs' rather than the literal.

After those changes I was able to get it built and tested: """ Ran 15 tests in 3.157s

OK """

Hope this helps,

Mark



More information about the Python-Dev mailing list