From: Werner F. B. <wer...@fr...> - 2007-04-09 08:51:06
|
Hi Emmanuel, Maybe your problem has to do with your "enthought" build of wxPython. I use standard builds from wxPython site. Emmanuel wrote: > when putting the full path of wxmsw26u_vc_enthought.dll in setup.py > like this > > data_files = [("lib\\matplotlibdata", mpfiles), > matplotlib.get_py2exe_datafiles(), # if you don't > use the lib option You get two copies of matplotlibdata as you kept both of the two above lines active. You need to use the first one of you use the py2exe option to create a library.zip which I put into a sub-folder called 'lib' in the sample setup.py file. > "C:\\Python24\\Lib\\site-packages\\wx-2.6.1.0-py2.4-win32.egg\\wx\\wxmsw26u_vc_enthought.dll", > ## "wxmsw26u_vc_enthought.dll", > #### ("prog\\", python4dll) > ] > You are also using an 'egg'. I seem to recall that py2exe does not yet really support that, but you might want to check on the py2exe list (e.g. on the gmane mirror of it at http://dir.gmane.org/gmane.comp.python.py2exe Werner |