X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54f9ee450905e98296e6afd1376b3d1e06a1e00f..04b6e2f0c1a6a838e26296b0f39cdb6b5231bdb2:/wxPython/setup.py diff --git a/wxPython/setup.py b/wxPython/setup.py index 346f552fad..b5b17e937d 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -435,7 +435,7 @@ if BUILD_STC: if os.name == 'nt': STC_H = opj(WXDIR, 'contrib', 'include/wx/stc') else: - STC_H = opj(WXPREFIX, 'include/wx/stc') + STC_H = opj(WXPREFIX, 'include/wx-%d.%d/wx/stc' % (VER_MAJOR, VER_MINOR)) ## NOTE: need to add something like this to the stc.bkl... @@ -586,9 +586,9 @@ if BUILD_GIZMOS: USE_SWIG, swig_force, swig_args, swig_deps) ext = Extension('_gizmos', - [ '%s/treelistctrl.cpp' % location ] + swig_sources, + [ '%s/treelistctrl.cpp' % opj(location, 'wxCode/src') ] + swig_sources, - include_dirs = includes + [ location ] + CONTRIBS_INC, + include_dirs = includes + [ location, opj(location, 'wxCode/include') ] + CONTRIBS_INC, define_macros = defines, library_dirs = libdirs, @@ -671,8 +671,9 @@ else: glob.glob(opj("src/_*.py")) + \ glob.glob(opj("src/*.swg")) - HEADERS = zip(h_files, ["/include/wx/wxPython"]*len(h_files)) + \ - zip(i_files, ["/include/wx/wxPython/i_files"]*len(i_files)) + HEADERS = zip(h_files, ["/wxPython"]*len(h_files)) + \ + zip(i_files, ["/wxPython/i_files"]*len(i_files)) + #---------------------------------------------------------------------- # Do the Setup/Build/Install/Whatever @@ -705,8 +706,10 @@ if __name__ == "__main__": 'wx.lib', 'wx.lib.colourchooser', 'wx.lib.editor', + 'wx.lib.floatcanvas', 'wx.lib.masked', 'wx.lib.mixins', + 'wx.lib.ogl', 'wx.py', 'wx.tools', 'wx.tools.XRCed',