[Twisted-Python] TAP howto: doesn't appear to cover installation
duncan.mcgreggor at gmail.com
Fri Aug 3 14:09:11 EDT 2012
On Fri, Aug 3, 2012 at 10:13 AM, Laurens Van Houtven <_ at lvh.cc> wrote:
> 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:
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.
> This package will always be installed into a site-packageless virtualenv. Ideally the virtualenv's twistd will know all about the new plugin.
> On a tangentially related note, my Options class is completely empty. That's not because my project has no configuration options, but simply because I invariably take them from the environment. Does that mean I'm doing it wrong?
More information about the Twisted-Python