<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le Aug 3, 2012 à 11:09 AM, Duncan McGreggor &lt;<a href="mailto:duncan.mcgreggor@gmail.com">duncan.mcgreggor@gmail.com</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><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'm reading the tap how to: <a href="http://twistedmatrix.com/documents/current/core/howto/tap.html">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't find anything about installing it. I'm using a fairly run-of-the-mill distribute-powered setup.py. What do I do?<br></blockquote><br>Here's an example setup.py:<br> &nbsp;<a href="https://github.com/dreamhost/akanda/blob/master/setup.py">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><br><div>I <i>think</i>&nbsp;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">http://stackoverflow.com/questions/7275295/how-do-i-write-a-setup-py-for-a-twistd-twisted-plugin-that-works-with-setuptools</a></div><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'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><div><br></div><div>-glyph</div></body></html>