]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/config.py
Allow for Cmd-click on wxMac
[wxWidgets.git] / wxPython / config.py
index 8b8d4ce35841e34a938f42dca24750058d0e43bf..04a6739ad4926042af1765f1eebdf5aaeea1cc32 100644 (file)
@@ -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")
         pyDest = os.path.join(wxPythonDir, modname + '.py')
     
         swigDest = os.path.join(destdir, "_"+modname+"_rename.i")
         pyDest = os.path.join(wxPythonDir, modname + '.py')