From 53d319144d59745d9370dd90a39f23b6f03ab3cb Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 22 Mar 2016 20:42:52 -0300 Subject: [PATCH] Mention Pytest::Framework PyPI classifier on docs --- doc/en/writing_plugins.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/en/writing_plugins.rst b/doc/en/writing_plugins.rst index 41fd0335e..9240a9aac 100644 --- a/doc/en/writing_plugins.rst +++ b/doc/en/writing_plugins.rst @@ -158,13 +158,22 @@ it in your setuptools-invocation: 'name_of_plugin = myproject.pluginmodule', ] }, + + # custom PyPI classifier for pytest plugins + classifiers=[ + "Framework :: Pytest", + ], ) If a package is installed this way, ``pytest`` will load ``myproject.pluginmodule`` as a plugin which can define `well specified hooks`_. +.. note:: + Make sure to include ``Framework :: Pytest`` in your list of + `PyPI classifiers `_ + to make it easy for users to find your plugin. Requiring/Loading plugins in a test module or conftest file