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:
Robin Dunn
2004-06-23 17:39:31 +00:00
parent b2b225e777
commit fd543c7a7a

View File

@@ -96,6 +96,9 @@ class BuildRenamers:
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")
pyDest = os.path.join(wxPythonDir, modname + '.py')