> I've been spending some time with py2exe today and got my own=20
> application building. There were, however, still some=20
> problems with how it's working.
> - It's looking in the PYTHONPATH for files which I'd rather=20
> have used from the local directory. I tried to add the=20
> directory to sys.path (at index -1), but it doesn't seem to help.
sys.path is searched from 0 to -1, isn't it? So you'd want to put =
at 0, rather than at the end. There might be py2exe options that can
override such things; I'm not familiar enough with it to know.
> - I keep getting some modules which aren't found. I've=20
> removed a few dependencies, but several others remain, and I=20
> can't find where they originate. Is there a way to find this out?
I presume you can do something with the imp module, but, again, I've =
done this myself (someone else here may chip in). Or running python -v =
then importing your script(s) will output importing information, which
probably has what you're after.