Mention Pytest::Framework PyPI classifier on docs
This commit is contained in:
parent
6ddfd60ce7
commit
53d319144d
|
@ -158,13 +158,22 @@ it in your setuptools-invocation:
|
||||||
'name_of_plugin = myproject.pluginmodule',
|
'name_of_plugin = myproject.pluginmodule',
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
# custom PyPI classifier for pytest plugins
|
||||||
|
classifiers=[
|
||||||
|
"Framework :: Pytest",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
If a package is installed this way, ``pytest`` will load
|
If a package is installed this way, ``pytest`` will load
|
||||||
``myproject.pluginmodule`` as a plugin which can define
|
``myproject.pluginmodule`` as a plugin which can define
|
||||||
`well specified hooks`_.
|
`well specified hooks`_.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
Make sure to include ``Framework :: Pytest`` in your list of
|
||||||
|
`PyPI classifiers <http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#classifiers>`_
|
||||||
|
to make it easy for users to find your plugin.
|
||||||
|
|
||||||
|
|
||||||
Requiring/Loading plugins in a test module or conftest file
|
Requiring/Loading plugins in a test module or conftest file
|
||||||
|
|
Loading…
Reference in New Issue