From: Daniel F <nan...@gm...> - 2009-07-09 05:03:40
|
> In my project's directory, I created a directory Pmw, and stuck the > Pmw.py file created by bundlepmw into that directory, and also took > PmwColor.py from Pmw/lib, and stuck it into that directory (since i'm > using color). Inside that Pmw directory, I also created a file > "__init__.py", which had the following content, of one line: > from Pmw import * > > The above steps (with the directory and all), could probably be > avoided and i could have just used Pmw.py and PmwColor.py directly... > but it seemed neater that way, to separate the Pmw files from the rest > of my project's source code files. Indeed, I just tested, and placing Pmw.py and PmwColor.py directly into the project's source directory worked just fine, as well. So, if things seem to be working so well with py2exe, do we really need to do anything at all as far as the dynamic loader is concerned? Could we just let it be? |