[Twisted-Python] ampoule & cx_Freeze

gelin yan dynamicgl at gmail.com
Thu Mar 8 10:36:22 EST 2012

Hi All

    Have your guys used cx_Freeze & ampoule? I did try to make a standalone
executable app with ampoule; however, the program failed to execute at the
early stage of starting. I noticed an exception raised on utils.py:

p = FilePath(__main__.__file__)
AttributeError: 'module' object has no attribute __file__.

I guess once the main file is tuned into the executable one, __file__ will
be removed. It looks like ampoule need this attribute.

Any idea?


gelin yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120308/d7c5f8a0/attachment.htm 

More information about the Twisted-Python mailing list