Fix entry-points declaration in the documentation example using Hatch
Closes #10721
This commit is contained in:
1
changelog/10721.doc.rst
Normal file
1
changelog/10721.doc.rst
Normal file
@@ -0,0 +1 @@
|
||||
Fixed entry-points declaration in the documentation example using Hatch.
|
||||
@@ -167,13 +167,8 @@ it in your ``pyproject.toml`` file.
|
||||
"Framework :: Pytest",
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["myproject"]
|
||||
|
||||
[project.entry_points]
|
||||
pytest11 = [
|
||||
"myproject = myproject.pluginmodule",
|
||||
]
|
||||
[project.entry-points.pytest11]
|
||||
myproject = "myproject.pluginmodule"
|
||||
|
||||
If a package is installed this way, ``pytest`` will load
|
||||
``myproject.pluginmodule`` as a plugin which can define
|
||||
|
||||
Reference in New Issue
Block a user