From: Andy T. <an...@ha...> - 2006-11-05 03:00:55
|
Brian Debuire wrote: > >> I imagine that PythonCard reads in your .rsrc file and evals it. It >> doesn't seem to be finding the file (probably because it's in your >> .exe and it's not looking there.) I don't know enough about py2exe or >> PythonCard to help you solve the problem, but if you look at the code >> in util.py for readAndEvalFile, and go over the py2exe docs you should >> be able to figure out what's wrong. I suspect you need to get it to >> find the file when it opens it using the mechanism in readAndEvalFile. >> Please tell me how it goes. >> >> -Dan >> > > Thats correct. I had the same problem or something like that... I think you > should manually set the path of the app's scripts. I dont have some sample > code at hand right now... but I hope this idea help u a bit. > > Brian > All of the collective py2exe wisdom is in the mailing list archives. Alternatively the readme file accompanying the minimalStandalone sample gives instructions on bundling your PythonCard application with py2exe; http://pythoncard.sourceforge.net/samples/minimalStandalone.html Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |