Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Larry Bates <larry.bates@we...> - 2008-04-22 13:59:44
|
Brendon Duncan wrote: > In my app I use some python modules from a different project. I thought > I might be able to add them using py_modules = [...], but I couldn't > figure it out. I need to traverse back up the directory tree and come > back down a different branch to locate the correct .py files. > > How is this done? > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Py2exe-users mailing list > Py2exe-users@... > https://lists.sourceforge.net/lists/listinfo/py2exe-users 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 |