__init__.py 904 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. __package__ = 'plugins_pkg.playwright'
  2. __label__ = 'playwright'
  3. __version__ = '2024.10.14'
  4. __author__ = 'Nick Sweeting'
  5. __homepage__ = 'https://github.com/microsoft/playwright-python'
  6. import abx
  7. @abx.hookimpl
  8. def get_PLUGIN():
  9. return {
  10. 'playwright': {
  11. 'PACKAGE': __package__,
  12. 'LABEL': __label__,
  13. 'VERSION': __version__,
  14. 'AUTHOR': __author__,
  15. 'HOMEPAGE': __homepage__,
  16. }
  17. }
  18. @abx.hookimpl
  19. def get_CONFIG():
  20. from .config import PLAYWRIGHT_CONFIG
  21. return {
  22. 'playwright': PLAYWRIGHT_CONFIG
  23. }
  24. @abx.hookimpl
  25. def get_BINARIES():
  26. from .binaries import PLAYWRIGHT_BINARY
  27. return {
  28. 'playwright': PLAYWRIGHT_BINARY,
  29. }
  30. @abx.hookimpl
  31. def get_BINPROVIDERS():
  32. from .binproviders import PLAYWRIGHT_BINPROVIDER
  33. return {
  34. 'playwright': PLAYWRIGHT_BINPROVIDER,
  35. }