mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
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:
@@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user