[Distutils] How to use Nose plugins with buildout pbp.recipe.noserunner recipe ?

Tarek Ziadé ziade.tarek at gmail.com
Fri Mar 26 12:19:49 CET 2010


On Fri, Mar 26, 2010 at 8:21 AM, Максим Lacrima <lacrima.maxim at gmail.com> wrote:
> Hello!
>
> In order if someone is interested how to use Nose plugins with buildout I
> have solved this problem in the following way (without noserunner recipe).
> [enable_plugin]
> recipe = zc.recipe.egg
> eggs = nose
>        nosegae
>        package_under_test
> initialization = from nosegae import NoseGAE
> arguments = addplugins=[NoseGAE()]
> extra-paths = ./parts/google_appengine
>               ./parts/google_appengine/lib/yaml/lib
>
>
> This works for nosegae plugin, though I don't know if the same approach
> works for other plugins.

Sorry for the late reply.

pbp.recipe.noserunner doesn't have an option to set up plugins, but I
could add a "plugins" option to it if you want,

I am pretty sure there's a simple, generic way to do this since
plugins are "eggs", but I didn't look at it yet

Regards,
Tarek

-- 
Tarek Ziadé | http://ziade.org


More information about the Distutils-SIG mailing list