Full cleanup of pkg_resources (#9797)

Fixes #9606

This PRs removes some elements that were related to pkg_resources dependency and its deprecation.
This commit is contained in:
Adrien Ferrand
2023-11-13 15:50:32 -08:00
committed by GitHub
parent d8392bf394
commit 5f67bb99a8
7 changed files with 8 additions and 21 deletions
+4 -4
View File
@@ -328,8 +328,8 @@ Writing your own plugin
for one example of that.
Certbot client supports dynamic discovery of plugins through the
`setuptools entry points`_ using the `certbot.plugins` group. This
way you can, for example, create a custom implementation of
`importlib.metadata entry points`_ using the `certbot.plugins` group.
This way you can, for example, create a custom implementation of
`~certbot.interfaces.Authenticator` or the
`~certbot.interfaces.Installer` without having to merge it
with the core upstream source code. An example is provided in
@@ -352,8 +352,8 @@ users install it system-wide with `pip install`. Note that this will
only work for users who have Certbot installed from OS packages or via
pip.
.. _`setuptools entry points`:
https://setuptools.readthedocs.io/en/latest/pkg_resources.html#entry-points
.. _`importlib.metadata entry points`:
https://importlib-metadata.readthedocs.io/en/latest/using.html#entry-points
Writing your own plugin snap
~~~~~~~~~~~~~~~~~~~~~~~~~~~~