feat(src): Resolve imports and create sloppy.py entry point

This commit is contained in:
2026-03-04 10:01:55 -05:00
parent a0276e0894
commit c102392320
44 changed files with 90 additions and 21 deletions

View File

@@ -7,8 +7,10 @@ import io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8')
# Add project root to sys.path
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
# Add project root and src/ to sys.path
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
sys.path.append(project_root)
sys.path.append(os.path.join(project_root, "src"))
try:
import mcp_client