From 7598fd5b2a0212e61109a792d14f068e59d3e91c Mon Sep 17 00:00:00 2001 From: nose Date: Wed, 24 Dec 2025 03:57:44 -0800 Subject: [PATCH] dfdf --- medeia_macina/cli_entry.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/medeia_macina/cli_entry.py b/medeia_macina/cli_entry.py index 83059fe..e34ea03 100644 --- a/medeia_macina/cli_entry.py +++ b/medeia_macina/cli_entry.py @@ -163,13 +163,12 @@ def _run_cli(clean_args: List[str]) -> int: if hasattr(mod, "MedeiaCLI"): MedeiaCLI = getattr(mod, "MedeiaCLI") else: - # Try importing the top-level `CLI` module directly (editable/repo mode) + # Try importing the top-level `CLI` module directly (editable/repo mode). try: from CLI import MedeiaCLI as _M # type: ignore - MedeiaCLI = _M except Exception: - raise ImportError( + raise ImportError( "Imported module 'medeia_entry' does not define 'MedeiaCLI' and direct import of top-level 'CLI' failed.\n" "Remedy: activate your venv and run: pip install -e . (or re-run the bootstrap script).\n" "If problems persist, recreate the venv and reinstall the project."