Commits

Steve Borho committed cd0bb00

add some ugly code to ensure we take the svn SWIG OpenSSL DLLs

Without this hack, the subversion bindings do not work on x64 Python2.7

  • Participants
  • Parent commits cf8f14e
  • Tags 2.4.2

Comments (0)

Files changed (1)

             p = os.path.join(path, f)
             run(r'copy %s dist' % p, r'build/thg')
 
+        # pysvn requires these DLLs from the libsvn folder, not the ones
+        # in the PyQt4 folder, which distutils usually finds first
+        path = os.path.join(sys.exec_prefix, 'lib', 'site-packages', 'libsvn')
+        for f in ('libeay32.dll', 'ssleay32.dll'):
+            p = os.path.join(path, f)
+            if os.path.exists(p):
+                run(r'copy %s dist' % p, r'build/thg')
+
     hgversion = repoversion('build/hg/mercurial/__version__.py')
     hgperiodic = windowsversion(name, hgversion)[2]
     longthgversion = repoversion('build/thg/tortoisehg/util/__version__.py')