py2exe problem

I tried making an exe, but got this strange error... has it to do with the skellington or did I do smth wrong?
Traceback (most recent call last):
  File "", line 3, in ?
NameError: name '__file__' is not defined
so it's already grinding to an halt in run_game?? other people of succesfully provided exe... so what's my mistake?

(log in to comment)


It looks like you have an old copy of the skellington. The version of currently available from the help page has the following code in it:
    libdir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'))
    sys.path.insert(0, libdir)
    # probably running inside py2exe which doesn't set __file__
ah nice, got it