[Python-Dev] PEP 376 proposed changes for basic plugins support

Holger Krekel holger.krekel at gmail.com
Mon Aug 2 21:01:31 CEST 2010


On Mon, Aug 2, 2010 at 8:48 PM, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
> On 02/08/2010 19:45, Holger Krekel wrote:
[...]
>>>> I'd much prefer a one-step process and rather provide a way to not-use
>>>> a plugin even if installed.  The difference is e.g. with py.test that i
>>>> can point users to e.g.
>>>>
>>>>   pip install pytest-figleaf
>>>>   py.test --figleaf
>>>
>>> How do you achieve this currently?
>>>
>>
>> it uses setuptools entrypoints, so with a setup.py param like
>
> Right. I can't use that for unittest. With the new proposal we *could*
> automatically use all available plugins, but I think I prefer to only have
> plugins active that the user has chosen.

This sounds like a situation where a user has more installed
than he actually asked for.  I guess i am a big fan of "use virtualenv,
avoid global installations" and thus don't see the point to have
more installed than needed.

best,
holger


More information about the Python-Dev mailing list