From: Larry B. <lar...@we...> - 2008-04-23 13:10:40
|
B Duncan wrote: > My app uses modules from another project (using PyDev in Eclipse). I > need to add this to what py2exe processes. I thought I may be able to > do this with py_modules, but I couldn't figure it out. To locate the > extra modules, I need to go back up the directory tree and come down > another branch. How do I go about this? > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone I answered your first post, but here it is again: Add the path to sys.path at the top of your script. Something like the following should work: import sys sys.path.append(<insert path to modules here>) . . remainder of your setup script . Not tested, but I think this will work for you. -Larry |