Improve plugins.rst

This commit is contained in:
Jakub Warmuz 2015-03-26 22:12:40 +00:00
parent 8e32ae8246
commit 6b78789ea3
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

View file

@ -2,4 +2,12 @@
Plugins
=======
You can find an example in ``examples/plugins/`` directory.
Let's Encrypt client supports dynamic discovery of plugins through the
`setuptools entry points`_. This way you can, for example, create a
custom implementation of
`~letsencrypt.client.interfaces.IAuthenticator` without having to
merge it with the core upstream source code. Example is provided in
``examples/plugins/`` directory.
.. _`setuptools entry points`:
https://pythonhosted.org/setuptools/setuptools.html#dynamic-discovery-of-services-and-plugins