Create the wxPython dir (for the reverse renamers) if it doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -96,6 +96,9 @@ class BuildRenamers:
|
|||||||
|
|
||||||
assert FOUND_LIBXML2, "The libxml2 module is required to use the BuildRenamers functionality."
|
assert FOUND_LIBXML2, "The libxml2 module is required to use the BuildRenamers functionality."
|
||||||
|
|
||||||
|
if not os.path.exists(wxPythonDir):
|
||||||
|
os.mkdir(wxPythonDir)
|
||||||
|
|
||||||
swigDest = os.path.join(destdir, "_"+modname+"_rename.i")
|
swigDest = os.path.join(destdir, "_"+modname+"_rename.i")
|
||||||
pyDest = os.path.join(wxPythonDir, modname + '.py')
|
pyDest = os.path.join(wxPythonDir, modname + '.py')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user