Currently [the example for entry points](https://docs.pytest.org/en/stable/how-to/writing_plugins.html#making-your-plugin-installable-by-others) uses `setup.py`. As I understand we want to recommend other formats in general (`pyproject.toml`/`setup.cfg`), so we should update the example accordingly.
Currently the example for entry points uses
setup.py.As I understand we want to recommend other formats in general (
pyproject.toml/setup.cfg), so we should update the example accordingly.