Steve Borho avatar 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

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/')
     hgperiodic = windowsversion(name, hgversion)[2]
     longthgversion = repoversion('build/thg/tortoisehg/util/')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.