migrate plugin loading process to new pluggy-powered system based on djp

This commit is contained in:
Nick Sweeting 2024-09-26 02:43:12 -07:00
parent efd341d8ad
commit 8ed3155ec5
No known key found for this signature in database
28 changed files with 690 additions and 321 deletions

View file

@ -72,7 +72,7 @@ class PlaywrightBinProvider(BaseBinProvider):
if OPERATING_SYSTEM == "darwin" else
Path("~/.cache/ms-playwright").expanduser() # linux playwright cache dir
)
puppeteer_install_args: List[str] = ["install"] # --with-deps
puppeteer_install_args: List[str] = ["install"] # --with-deps
packages_handler: ProviderLookupDict = Field(default={
"chrome": lambda: ["chromium"],
@ -177,5 +177,5 @@ class PlaywrightPlugin(BasePlugin):
PLUGIN = PlaywrightPlugin()
PLUGIN.register(settings)
# PLUGIN.register(settings)
DJANGO_APP = PLUGIN.AppConfig