mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user