diff --git a/setup.py b/setup.py index f6519bc..b7d6a5d 100755 --- a/setup.py +++ b/setup.py @@ -297,7 +297,7 @@ class PySwigCommand(distutils.cmd.Command): def run(self): """Run command.""" - command = ['swig', '-w302', '-w312', '-w325', '-w362', '-w389', '-w401', '-w473', '-w509', '-I./swig', '-DFL_EXPORT', '-DPYTHON', '-DPYTHON3', '-py3', '-c++', '-python', '-shadow', '-fastdispatch', '-outdir', 'fltk', '-o', 'fltk/fltk_wrap.cpp', './swig/fltk.i'] + command = ['swig', '-w302', '-w312', '-w325', '-w362', '-w389', '-w401', '-w473', '-w509', '-I./swig', '-DFL_EXPORT=', '-DPYTHON', '-DPYTHON3', '-c++', '-python', '-shadow', '-fastdispatch', '-outdir', 'fltk', '-o', 'fltk/fltk_wrap.cpp', './swig/fltk.i'] pos = command.index('-I./swig')+1 command[pos:pos] = self.include self.announce( diff --git a/swig/fltk.i b/swig/fltk.i index 958c9f8..14093f2 100644 --- a/swig/fltk.i +++ b/swig/fltk.i @@ -197,7 +197,6 @@ if sys.version > '3': %include Fl_Window.i %include Fl_Double_Window.i %include fl_draw.i -%include Fl_Export.i %include Fl_Input_.i %include Fl_Input.i %include Fl_File_Input.i