__init__.py 489 B

123456789101112131415161718
  1. try:
  2. from ._version import version as __version__
  3. except ImportError:
  4. # broken installation, we don't even try
  5. # unknown only works because we do poor mans version compare
  6. __version__ = "unknown"
  7. __all__ = [
  8. "PluginManager",
  9. "PluginValidationError",
  10. "HookCallError",
  11. "HookspecMarker",
  12. "HookimplMarker",
  13. ]
  14. from ._manager import PluginManager, PluginValidationError
  15. from ._callers import HookCallError
  16. from ._hooks import HookspecMarker, HookimplMarker