X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f35d1a03b2779b4c0cd04f349776e29c7f25b87b..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/config.py?ds=sidebyside diff --git a/wxPython/config.py b/wxPython/config.py index bbe0f0eb9d..b9ebe12e74 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -834,7 +834,7 @@ VERSION = "%s.%s.%s.%s%s" % (VER_MAJOR, VER_MINOR, VER_RELEASE, # SWIG defaults #---------------------------------------------------------------------- -# i files could live in the wxWidgets/wxPython/src dir, or in +# *.i files could live in the wxWidgets/wxPython/src dir, or in # a subdirectory of the devel package. Let's specify both # dirs as includes so we don't have to guess which is correct. @@ -844,12 +844,9 @@ if os.name != "nt": wxfilesdir = opj(WXPREFIX, i_subdir) else: wxfilesdir = opj(WXPY_SRC, i_subdir) - + i_files_includes = [ '-I' + opj(WXPY_SRC, 'src'), '-I' + wxfilesdir ] - -if wxfilesdir != "": - i_files_includes.append(wxfilesdir) swig_cmd = SWIG swig_force = force