Get the full path to the uv executable.
()
| 49 | |
| 50 | |
| 51 | def get_uv_path() -> str: |
| 52 | """Get the full path to the uv executable.""" |
| 53 | uv_path = shutil.which("uv") |
| 54 | if not uv_path: |
| 55 | logger.error( |
| 56 | "uv executable not found in PATH, falling back to 'uv'. Please ensure uv is installed and in your PATH" |
| 57 | ) |
| 58 | return "uv" # Fall back to just "uv" if not found |
| 59 | return uv_path |
| 60 | |
| 61 | |
| 62 | def update_claude_config( |