git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37014
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-import sys, os, glob, fnmatch
+import re, sys, os, glob, fnmatch
raise VersionError("Requested version of wxPython not found")
sys.path.insert(0, bestMatch.pathname)
raise VersionError("Requested version of wxPython not found")
sys.path.insert(0, bestMatch.pathname)
+ # q.v. Bug #1409256
+ path64 = re.sub('/lib/','/lib64/',bestMatch.pathname)
+ if os.path.isdir(path64):
+ sys.path.insert(0, path64)
_selected = bestMatch
#----------------------------------------------------------------------
_selected = bestMatch
#----------------------------------------------------------------------
sys.exit()
sys.path.insert(0, bestMatch.pathname)
sys.exit()
sys.path.insert(0, bestMatch.pathname)
+ # q.v. Bug #1409256
+ path64 = re.sub('/lib/','/lib64/',bestMatch.pathname)
+ if os.path.isdir(path64):
+ sys.path.insert(0, path64)
global _selected
_selected = bestMatch
global _selected
_selected = bestMatch