[Twisted-Python] TAP howto: doesn't appear to cover installation

Glyph glyph at twistedmatrix.com
Fri Aug 3 22:52:11 EDT 2012


Le Aug 3, 2012 à 11:09 AM, Duncan McGreggor <duncan.mcgreggor at gmail.com> a écrit :

> On Fri, Aug 3, 2012 at 10:13 AM, Laurens Van Houtven <_ at lvh.cc> wrote:
>> Hi,
>> 
>> I'm reading the tap how to: http://twistedmatrix.com/documents/current/core/howto/tap.html
>> 
>> In the conclusion, it says:
>> 
>> • Use it from your development environment
>> • Install it correctly and use it in deployment
>> 
>> 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?
> 
> Here's an example setup.py:
>  https://github.com/dreamhost/akanda/blob/master/setup.py
> 
> Note the packages and package_data parameters.
> 
> Also, I refresh the plugin cache after setup. This has removed the
> problem of Twisted not being able to find newly installed plugins.
> 

I think that this is the following Stack Overflow question:

http://stackoverflow.com/questions/7275295/how-do-i-write-a-setup-py-for-a-twistd-twisted-plugin-that-works-with-setuptools

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.

-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120803/2d5831f6/attachment.htm 


More information about the Twisted-Python mailing list