[Twisted-Python] ampoule & cx_Freeze

gelin yan dynamicgl at gmail.com
Fri Mar 9 00:57:23 EST 2012


On Fri, Mar 9, 2012 at 2:00 AM, Corbin Simpson <mostawesomedude at gmail.com>wrote:

> 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>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


I have tried freeze_support..It didn't work. I guess it would be not easy
to use cx_Freeze for this case, I may try to find out other methods to pack
the app. Thx again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120309/dd80b97c/attachment.htm 


More information about the Twisted-Python mailing list