config.py evaluates os.environ at import time, but mckicad/__init__.py eagerly imports config via 'from .config import *'. The old main.py loaded .env after importing from mckicad, so the search paths were always empty. Now .env is parsed with stdlib before any mckicad imports. Also fix start.sh to use 'uv run' instead of stale venv/ path.
3 lines
68 B
Bash
Executable File
3 lines
68 B
Bash
Executable File
#!/bin/bash
|
|
cd /home/rpm/claude/kicad-mcp
|
|
uv run python main.py "$@" |