Add entrypoints for nginx/apache shims

This commit is contained in:
Will Greenberg
2026-03-17 17:58:52 -07:00
parent 6b62311909
commit 4a428ebda4
4 changed files with 13 additions and 4 deletions
@@ -0,0 +1,6 @@
""" Entry point for Apache Plugin """
from certbot._internal.apache import entrypoint
ENTRYPOINT = entrypoint.get_configurator()
+1 -1
View File
@@ -38,7 +38,7 @@ test = [
]
[project.entry-points."certbot.plugins"]
nginx = "certbot_nginx._internal.configurator:NginxConfigurator"
nginx = "certbot_nginx._internal.entrypoint:ENTRYPOINT"
[project.urls]
Homepage = "https://github.com/certbot/certbot"
@@ -0,0 +1,6 @@
""" Entry point for Apache Plugin """
from certbot._internal.nginx import configurator
ENTRYPOINT = configurator.NginxConfigurator
@@ -64,6 +64,3 @@ def get_configurator() -> type[configurator.ApacheConfigurator]:
# No override class found, return the generic configurator
override_class = configurator.ApacheConfigurator
return override_class
ENTRYPOINT = get_configurator()