On Feb 16, 2008 5:19 AM, Stef Mientki <[EMAIL PROTECTED]> wrote: > In Py2exe I tried to exclude as many backends as possible, > but the excludes seems to have no effect. > 'excludes' : [ > '_gtkagg', '_tkagg', '_agg2', '_cairo', '_cocoaagg', > '_fltkagg', '_gtk', '_gtkcairo', > 'backend_qt', 'backend_qt4', 'backend_qt4agg', > 'backend_qtagg', > 'backend_cairo', 'backend_cocoaagg', > 'Tkconstants', 'Tkinter', 'tcl', > "_imagingtk", "PIL._imagingtk", "ImageTk", "PIL.ImageTk", "FixTk" > ],
I am not sure why the excluding is not working, but it shouldn't affect you app. If you are setting the backend in matplotlibrc, and successfully distributing this file, then matplotlib will only try and load that backend and the presence or abscense of the others shouldn't matter. In recent versions of matplotlib (eg the 91.2 version you are using), you can control the build process with setup.cfg. JDH ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users