Regarding debugging statements, the scripts seem to work very well. I'm using the pyduct.py script in GNU/Linux with success.
> To: email@example.com > From: firstname.lastname@example.org > Date: Tue, 17 Nov 2009 12:25:12 +0100 > Subject: Re: [Py2exe-users] py2exe with pygtk and matplotlib > > Jerome, > > Jerome Vandermeersch wrote: > > Hi, > > > > I wrote a pygtk script that use matplotlib 0.99.1.1, numpy and pylab. > > > > Everything is going fine during the setup.py compiling but nothing is > > happening when I click on the .exe file. Same thing when I try to launch > > exe file with the command line... > > > > Above is the setup.py script I've written copied and modified following > > advice on the website. > > > > I'm running out of ideas for possible solutions... Any help or further > > advice would be highly appreciated ! > I don't know pygtk but the attached setup.py works for wxPython and > matplotlib. > > Looking at your setup.py I wonder if you need all these includes and > packages - although they should not be your problem. > > One thing I see missing is the data_files entry for matplotlib - see my > setup.py. > > As mentioned by Philip you should put in some debug statements into your > script and see where it is failing. > > Werner