mirror of https://github.com/aminya/setup-cpp
fix: install venv for using pipx
This commit is contained in:
parent
42d3ea447e
commit
20531c3692
|
@ -88,6 +88,7 @@ words:
|
|||
- vcpkg
|
||||
- VCPKG
|
||||
- vcvarsall
|
||||
- venv
|
||||
- visualc
|
||||
- visualcpp
|
||||
- vsversion
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -47,6 +47,7 @@ async function setupPipx(foundPython: string) {
|
|||
await setupPipPackWithPython(foundPython, "pipx", undefined, { upgrade: true, usePipx: false })
|
||||
}
|
||||
await execa(foundPython, ["-m", "pipx", "ensurepath"], { stdio: "inherit" })
|
||||
await setupPipPackWithPython(foundPython, "venv", undefined, { upgrade: false, usePipx: false })
|
||||
} catch (err) {
|
||||
warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue