From: Michael T. <mic...@gm...> - 2005-04-12 15:50:04
|
On Apr 12, 2005 3:13 PM, John Hunter <jdh...@ac...> wrote: > I saw the exact same thing but it appeared to come and go as I made > minor tweaks to the setup, and could never figure out why I sometimes > got this error and sometimes did not. I added nummaray to the > packages list. > I've googled on this but never found anything definitive. It'd be good if someone figured out what's happening as it's a fairly nasty error, but it's just easier to remember to stick that package in the packages list. > Yep, this is mentioned in the comment header of setup.py for the gtk > example (and in the FAQ). Still, it's easy to miss, as I spent about > 15 minutes trying to figure out what was going wrong (it had been many > months since I wrote the example) before I read my own comment. I > added a print reminder to setup.py. > (cough) Continuing my fine tradition of missing the helpful bits in documentation and comments. > Curious to know if this works for Andrea too. It appears to work for > me with py2exe 0.5.4 > I hope this works as it makes life a lot easier all round. If it doesn't I'd definitely suspect a bug in py2exe. > Michael> I've attached a diff showing the minor modifications I > Michael> made. > > Thanks, I've updated the examples on the site. > > I also saw your comment on the py2exe matplotlib wiki. I changed the > init method slightly -- could you test this on your setup to make sure > it works > Oh yeah, I'd forgotten about that wiki comment completely. I'll test the changed code this afternoon, thanks. cheers, Michael |