Fix entry-points declaration in the documentation example using Hatch
Closes #10721
This commit is contained in:
parent
e9f3a01392
commit
aa72496d24
|
@ -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",
|
"Framework :: Pytest",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.setuptools]
|
[project.entry-points.pytest11]
|
||||||
packages = ["myproject"]
|
myproject = "myproject.pluginmodule"
|
||||||
|
|
||||||
[project.entry_points]
|
|
||||||
pytest11 = [
|
|
||||||
"myproject = myproject.pluginmodule",
|
|
||||||
]
|
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue