<br><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 7:52 PM, Glyph <span dir="ltr">&lt;<a href="mailto:glyph@twistedmatrix.com" target="_blank">glyph@twistedmatrix.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><br><div><div>Le Aug 3, 2012 à 11:09 AM, Duncan McGreggor &lt;<a href="mailto:duncan.mcgreggor@gmail.com" target="_blank">duncan.mcgreggor@gmail.com</a>&gt; a écrit :</div><div class="im">
<br><blockquote type="cite">On Fri, Aug 3, 2012 at 10:13 AM, Laurens Van Houtven &lt;_@lvh.cc&gt; wrote:<br><blockquote type="cite">Hi,<br><br>I&#39;m reading the tap how to: <a href="http://twistedmatrix.com/documents/current/core/howto/tap.html" target="_blank">http://twistedmatrix.com/documents/current/core/howto/tap.html</a><br>
<br>In the conclusion, it says:<br><br>• Use it from your development environment<br>• Install it correctly and use it in deployment<br><br>I can get it to work from my development environment, but I can&#39;t find anything about installing it. I&#39;m using a fairly run-of-the-mill distribute-powered setup.py. What do I do?<br>
</blockquote><br>Here&#39;s an example setup.py:<br>  <a href="https://github.com/dreamhost/akanda/blob/master/setup.py" target="_blank">https://github.com/dreamhost/akanda/blob/master/setup.py</a><br><br>Note the packages and package_data parameters.<br>
<br>Also, I refresh the plugin cache after setup. This has removed the<br>problem of Twisted not being able to find newly installed plugins.<br><br></blockquote></div></div><br><div>I <i>think</i> that this is the following Stack Overflow question:</div>
<div><br></div><div><a href="http://stackoverflow.com/questions/7275295/how-do-i-write-a-setup-py-for-a-twistd-twisted-plugin-that-works-with-setuptools" target="_blank">http://stackoverflow.com/questions/7275295/how-do-i-write-a-setup-py-for-a-twistd-twisted-plugin-that-works-with-setuptools</a></div>
</div></blockquote><div><br>That&#39;s a great link; the main solution solves several problems I had run into, but hadn&#39;t had the time to explore/debug. Now I know why...<br><br>Thanks!<br><br>d<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><div>There are some issues with the answer there, as noted in the comments, but something like this needs to be in Twisted&#39;s documentation someplace, as soon as someone can agree what the right way for all the different packaging configurations you can find yourself in is.</div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>-glyph</div></font></span></div><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><br>
<br></blockquote></div><br>