Enable finding the wxWidgets folder as a subdir of the main Phoenix folder.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-03-27 04:28:25 +00:00
parent 222131679d
commit 429a96c73f

View File

@@ -642,7 +642,7 @@ def phoenixDir():
def wxDir():
WXWIN = os.environ.get('WXWIN')
if not WXWIN:
for rel in ['../wxWidgets', '../wx', '..']:
for rel in ['../wxWidgets', '../wx', './wxWidgets', '..']:
path = os.path.join(phoenixDir(), rel)
if path and os.path.exists(path) and os.path.isdir(path):
WXWIN = os.path.abspath(os.path.join(phoenixDir(), rel))