diff --git a/pyproject.toml b/pyproject.toml index 74608b6f..f32c7131 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ tensorstore = [ "tensorstore>=0.1.64", ] -[project.entry-points."iohub.zarr-implementations"] +[project.entry-points."iohub.zarr_implementations"] zarr = "iohub.core.implementations.zarr_python:ZarrPythonImplementation" tensorstore = "iohub.core.implementations.tensorstore:TensorStoreImplementation" diff --git a/src/iohub/core/implementations/__init__.py b/src/iohub/core/implementations/__init__.py index 2126ba76..ea5647b0 100644 --- a/src/iohub/core/implementations/__init__.py +++ b/src/iohub/core/implementations/__init__.py @@ -1,6 +1,6 @@ """Zarr I/O implementation backends. -Implementations are discovered via the ``iohub.zarr-implementations`` +Implementations are discovered via the ``iohub.zarr_implementations`` entry point group. See :mod:`iohub.core.registry` for the discovery mechanism. For direct imports:: diff --git a/src/iohub/core/registry.py b/src/iohub/core/registry.py index d6f64f25..5f75e882 100644 --- a/src/iohub/core/registry.py +++ b/src/iohub/core/registry.py @@ -42,7 +42,7 @@ def _discover() -> None: exc_info=True, ) # Entrypoint plugins can override builtins - for ep in entry_points(group="iohub.zarr-implementations"): + for ep in entry_points(group="iohub.zarr_implementations"): try: _IMPLEMENTATIONS[ep.name] = ep.load() except Exception as err: # noqa: BLE001 — plugin loading may fail in many ways