<br><br><div class="gmail_quote">On Fri, Mar 9, 2012 at 2:00 AM, Corbin Simpson <span dir="ltr"><<a href="mailto:mostawesomedude@gmail.com">mostawesomedude@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Off the top of my head, multiprocessing.freeze_support() might help. I<br>
wonder if dialtone is on this list, he might know more.<br>
<br>
~ C.<br>
<div><div class="h5"><br>
On Thu, Mar 8, 2012 at 11:36 PM, gelin yan <<a href="mailto:dynamicgl@gmail.com">dynamicgl@gmail.com</a>> wrote:<br>
> Hi All<br>
><br>
><br>
> Have your guys used cx_Freeze & ampoule? I did try to make a standalone<br>
> executable app with ampoule; however, the program failed to execute at the<br>
> early stage of starting. I noticed an exception raised on utils.py:<br>
><br>
> p = FilePath(__main__.__file__)<br>
> AttributeError: 'module' object has no attribute __file__.<br>
><br>
><br>
> I guess once the main file is tuned into the executable one, __file__ will<br>
> be removed. It looks like ampoule need this attribute.<br>
><br>
> Any idea?<br>
><br>
> Thanks<br>
><br>
> gelin yan<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Twisted-Python mailing list<br>
> <a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
> <a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
</font></span><br></blockquote><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="HOEnZb"><font color="#888888">
<br>
--<br>
When the facts change, I change my mind. What do you do, sir? ~ Keynes<br>
<br>
Corbin Simpson<br>
<<a href="mailto:MostAwesomeDude@gmail.com">MostAwesomeDude@gmail.com</a>><br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a></font></span></blockquote><div><br><span class="HOEnZb"><font color="#888888">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.<br><br></font></span> <br></div></div><br>