PluginsEntryPoint.prepare, move pick_* to display_ops

This commit is contained in:
Jakub Warmuz
2015-05-03 07:56:49 +00:00
parent 2ffc3c37cb
commit 595230fd8e
9 changed files with 146 additions and 111 deletions
@@ -10,18 +10,22 @@ from letsencrypt.client.plugins import common
class Authenticator(common.Plugin):
"""Example Authenticator."""
zope.interface.implements(interfaces.IAuthenticator)
zope.interface.classProvides(interfaces.IPluginFactory)
description = 'Example Authenticator plugin'
description = "Example Authenticator plugin"
# Implement all methods from IAuthenticator, remembering to add
# "self" as first argument, e.g. def prepare(self)...
class Installer(common.Plugins):
"""Example Installer."""
zope.interface.implements(interfaces.IInstaller)
zope.interface.classProvides(interfaces.IPluginFactory)
description = 'Example Installer plugin'
description = "Example Installer plugin"
# Implement all methods from IInstaller, remembering to add
# "self" as first argument, e.g. def get_all_names(self)...