mirror of https://github.com/aminya/setup-cpp
Merge pull request #85 from aminya/wheel [skip ci]
This commit is contained in:
commit
cc348dba6b
|
@ -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)
|
||||
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], {
|
||||
|
|
Loading…
Reference in New Issue