(stdout: string)
| 180 | } |
| 181 | |
| 182 | function parsePythonVersion(stdout: string): number[] | null { |
| 183 | const match = stdout.trim().match(/^(\d+)\.(\d+)\.(\d+)/) |
| 184 | if (!match) return null |
| 185 | return match.slice(1).map(part => Number.parseInt(part, 10)) |
| 186 | } |
| 187 | |
| 188 | function resolvePythonExecutable(): string { |
| 189 | const explicitCandidates = [ |
no outgoing calls
no test coverage detected