Comment 3 for bug 364185

Revision history for this message
Ziga Seilnacht (zseil) wrote :

Hum, I did all my development on Windows, and tests were passing for me. I also tested with your latest changes a few minutes ago, and all tests are still passing for me. My current setup is:
 - Windows XP Professional SP3
 - Python 2.5.2 installed from the official installer
 - Visual Studio .NET 2003
 - OpenSSL 0.9.8k (configured with -zlib and built with Visual Studio)

Due to differences between my OpenSSL installation and the binary installer, I use the following patch to the setup script:

=== modified file 'setup.py'
--- setup.py 2009-07-24 13:37:38 +0000
+++ setup.py 2009-11-10 16:51:59 +0000
@@ -57,9 +57,10 @@
     msvccompiler.MSVCCompiler = makeTellMeIf(msvccompiler.MSVCCompiler, ['libeay32', 'ssleay32'])

     import shutil
- shutil.copy("C:\\OpenSSL\\ssleay32.dll", os.path.split(os.path.abspath(__file__))[0])
- shutil.copy("C:\\OpenSSL\\libeay32.dll", os.path.split(os.path.abspath(__file__))[0])
- package_data = {'': ['ssleay32.dll', 'libeay32.dll']}
+ shutil.copy("C:\\OpenSSL\\bin\\ssleay32.dll", os.path.split(os.path.abspath(__file__))[0])
+ shutil.copy("C:\\OpenSSL\\bin\\libeay32.dll", os.path.split(os.path.abspath(__file__))[0])
+ shutil.copy("C:\\OpenSSL\\bin\\zlib1.dll", os.path.split(os.path.abspath(__file__))[0])
+ package_data = {'': ['ssleay32.dll', 'libeay32.dll', 'zlib1.dll']}
 else:
     Libraries = ['ssl', 'crypto']
     package_data = {}

I run the tests by executing each test module separately, e.g:

> cd test
> python test_crypto.py

Do you have a log of a failed test run?