[Twisted-Python] ampoule & cx_Freeze

Corbin Simpson mostawesomedude at gmail.com
Thu Mar 8 13:00:28 EST 2012


Off the top of my head, multiprocessing.freeze_support() might help. I
wonder if dialtone is on this list, he might know more.

~ C.

On Thu, Mar 8, 2012 at 11:36 PM, gelin yan <dynamicgl at gmail.com> wrote:
> 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?
>
> Thanks
>
> gelin yan
>
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



-- 
When the facts change, I change my mind. What do you do, sir? ~ Keynes

Corbin Simpson
<MostAwesomeDude at gmail.com>



More information about the Twisted-Python mailing list