From: Robin Dunn Date: Wed, 23 Jun 2004 17:39:31 +0000 (+0000) Subject: Create the wxPython dir (for the reverse renamers) if it doesn't exist X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fd543c7a7a15300e80c7707b0e92adf281b07469?ds=sidebyside 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 --- diff --git a/wxPython/config.py b/wxPython/config.py index 8b8d4ce358..04a6739ad4 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -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')