XylotrechusZ
�
���g � �� � d Z ddlZ ddlmZmZ ddlmZ ddlmZ ddl
mZ ddlm
Z
ddlmZ dd lmZ dd
lmZ ddlmZ d� Zd
� Z G d� de� Z G d� de� Zd� Zy# e $ r Y �Kw xY w)a�
Adds a sphinx directive that can be used to automatically document a plugin.
this::
.. autoplugin :: nose.plugins.foo
:plugin: Pluggy
produces::
.. automodule :: nose.plugins.foo
Options
-------
.. cmdoption :: --foo=BAR, --fooble=BAR
Do the foo thing to the new thing.
Plugin
------
.. autoclass :: nose.plugins.foo.Pluggy
:members:
Source
------
.. include :: path/to/nose/plugins/foo.py
:literal:
� N)�nodes�utils)�ViewList)�
directives)�resolve_name)�Plugin)�BuiltinPluginManager)�Config)�TestProgram)�isclassc � � |d } t | � }
|j dd � }|r
t |
|� }nJt |
� D ]<