On Fri, Mar 9, 2012 at 2:00 AM, Corbin Simpson <mostawesomed...@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 <dynami...@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@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 > <mostawesomed...@gmail.com> > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@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.
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python