mirror of https://github.com/aminya/setup-cpp
fix: add default python installation path
This commit is contained in:
parent
7523d162da
commit
b2741d0ee5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -31,7 +31,7 @@ export async function setupPipPack(name: string, version?: string) {
|
||||||
// test if pip executable is working
|
// test if pip executable is working
|
||||||
await execa(pip, ["--version"], { stdio: "inherit" })
|
await execa(pip, ["--version"], { stdio: "inherit" })
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
await setupPython(getVersion("python", undefined), "", process.arch)
|
await setupPython(getVersion("python", undefined), "~/python", process.arch)
|
||||||
pip = "pip3"
|
pip = "pip3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue