📝 Make "setuptools entrypoint" term generic
This feature grew out of `setuptools` but the modern interface for extracting this information from the distribution package metadata is `importlib.metadata`. So the patch attempts to reflect this in the documentation messaging. Refs: * https://docs.python.org/3/library/importlib.metadata.html#entry-points * https://packaging.python.org/en/latest/guides/creating-and-discovering-plugins/#using-package-metadata * https://packaging.python.org/en/latest/specifications/entry-points/#entry-points
This commit is contained in:
@@ -223,7 +223,7 @@ class TestImportHookInstallation:
|
||||
) -> None:
|
||||
monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)
|
||||
# Make sure the hook is installed early enough so that plugins
|
||||
# installed via setuptools are rewritten.
|
||||
# installed via distribution package are rewritten.
|
||||
pytester.mkdir("hampkg")
|
||||
contents = {
|
||||
"hampkg/__init__.py": """\
|
||||
|
||||
Reference in New Issue
Block a user