This commit was manufactured by cvs2svn to create tag 'WX_2_6_3'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_6_3@38365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2006-03-25 12:04:37 +00:00
parent 219ee9ba9d
commit 6b87fdbb87
1999 changed files with 213099 additions and 254730 deletions

View File

@@ -74,7 +74,7 @@ found at: http://wiki.wxpython.org/index.cgi/MultiVersionInstalls
"""
import sys, os, glob, fnmatch
import re, sys, os, glob, fnmatch
_selected = None
@@ -149,6 +149,10 @@ def select(versions, optionsRequired=False):
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
#----------------------------------------------------------------------
@@ -215,6 +219,10 @@ def ensureMinimal(minVersion, optionsRequired=False):
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