<br><br><div class="gmail_quote">On Fri, Mar 9, 2012 at 2:00 AM, Corbin Simpson <span dir="ltr">&lt;<a href="mailto:mostawesomedude@gmail.com">mostawesomedude@gmail.com</a>&gt;</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 &lt;<a href="mailto:dynamicgl@gmail.com">dynamicgl@gmail.com</a>&gt; wrote:<br>
&gt; Hi All<br>
&gt;<br>
&gt;<br>
&gt;     Have your guys used cx_Freeze &amp; ampoule? I did try to make a standalone<br>
&gt; executable app with ampoule; however, the program failed to execute at the<br>
&gt; early stage of starting. I noticed an exception raised on utils.py:<br>
&gt;<br>
&gt; p = FilePath(__main__.__file__)<br>
&gt; AttributeError: &#39;module&#39; object has no attribute __file__.<br>
&gt;<br>
&gt;<br>
&gt; I guess once the main file is tuned into the executable one, __file__ will<br>
&gt; be removed. It looks like ampoule need this attribute.<br>
&gt;<br>
&gt; Any idea?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; gelin yan<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Twisted-Python mailing list<br>
&gt; <a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
&gt; <a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
&gt;<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>
&lt;<a href="mailto:MostAwesomeDude@gmail.com">MostAwesomeDude@gmail.com</a>&gt;<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&#39;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>