From d1b3d685a7bb2d1ce607779b6bfcf8ad4c043d68 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 7 Feb 2005 20:35:43 +0000 Subject: [PATCH] Don't add wxfilesdir twice git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/config.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 2.47.2