mirror of https://github.com/aminya/setup-cpp
fix: install wheel for pip packages
This commit is contained in:
parent
6cd569102d
commit
136dd0bb4d
|
@ -44,6 +44,9 @@ export async function setupPipPack(name: string, version?: string): Promise<Inst
|
||||||
// ensure that pip is installed on Linux (happens when python is found but pip not installed)
|
// ensure that pip is installed on Linux (happens when python is found but pip not installed)
|
||||||
setupAptPack("python3-pip")
|
setupAptPack("python3-pip")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// install wheel (required for Conan, Meson, etc.)
|
||||||
|
execa.sync(python, ["-m", "pip", "install", "-U", "wheel"], { stdio: "inherit" })
|
||||||
}
|
}
|
||||||
|
|
||||||
execa.sync(python, ["-m", "pip", "install", version !== undefined && version !== "" ? `${name}==${version}` : name], {
|
execa.sync(python, ["-m", "pip", "install", version !== undefined && version !== "" ? `${name}==${version}` : name], {
|
||||||
|
|
Loading…
Reference in New Issue