From: Michael F. <mi...@pc...> - 2005-02-28 09:04:40
|
JIM_on_LINUX wrote: >py2exe help, > >I have a master directory where I build my exe module. After >running setup, I rename dist dir to mydist and moved it to >another dir. > >if Irun the exe file my program locates the bmp picks i've >included, builds some buttons, and runs until it tries to >import shelve. > >Traceback tells me it can't find the db modules. I know >this is a path problem but I'm not sure where to tell my >program to look for the dbm modules. In other words, where >are the dbm modules found? > >Also, does any part of the the build dir have to be included >with the dist dir for things to work right? > > >I would appreciate suggestions. > > > Hello Jim, I don't use databases very often - so I can't diagnose your problem very easily. If you send your actual traceback it might help. No - you shouldn't need any of your 'build' directory in your final app. It is possible that your application uses extra files that aren't been included though... so a little detective work is needed. (and/or relative or absolute paths might be getting messed up). Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml >Jim_on_Linux > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Py2exe-users mailing list >Py2...@li... >https://lists.sourceforge.net/lists/listinfo/py2exe-users > > > > > |