Issue with py2exe 0.5.0 and sys.path

Thomas Heller wrote:

So I'm asking, is it possible to force the home dir to be
in the sys.path?
(I have some ideas)

Why can't you do it yourself? Something like this:

import sys, os
if hasattr(sys, "frozen"):
   sys.path.append(os.path.dirname(sys.executable))

Thanks. The frozen attribute was unknown to me.
My tip (among others) was to append the wxApp dir to sys.path

Just writing this mail, this comes to my mind, however not
tested. An application calling an help file with an
os.startfile('blablalba.htm')

Sorry, I don't understand what you mean here.

It does not matter. I was *really* a stupid remark.:frowning:

Anyway. Thanks. py2exe is great.

Jean-Michel Fauth, Switzerland
PS A reply is not necessary