(pythonPath)
| 50 | } |
| 51 | |
| 52 | function isPythonPackageInstalled(pythonPath) { |
| 53 | try { |
| 54 | execSync(`${pythonPath} -c "import uncommon_route"`, { stdio: "pipe" }); |
| 55 | return true; |
| 56 | } catch { |
| 57 | return false; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Ensure the Python `uncommon-route` package is installed. |
no outgoing calls
no test coverage detected