From fd543c7a7a15300e80c7707b0e92adf281b07469 Mon Sep 17 00:00:00 2001 From: Robin Dunn <robin@alldunn.com> Date: Wed, 23 Jun 2004 17:39:31 +0000 Subject: [PATCH] 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 --- wxPython/config.py | 3 +++ 1 file changed, 3 insertions(+) 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') -- 2.47.2