Skip to content

Commit 20531c3

Browse files
committed
fix: install venv for using pipx
1 parent 42d3ea4 commit 20531c3

File tree

8 files changed

+8
-6
lines changed

8 files changed

+8
-6
lines changed

cspell.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ words:
8888
- vcpkg
8989
- VCPKG
9090
- vcvarsall
91+
- venv
9192
- visualc
9293
- visualcpp
9394
- vsversion

dist/actions/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/actions/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/python/python.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ async function setupPipx(foundPython: string) {
4747
await setupPipPackWithPython(foundPython, "pipx", undefined, { upgrade: true, usePipx: false })
4848
}
4949
await execa(foundPython, ["-m", "pipx", "ensurepath"], { stdio: "inherit" })
50+
await setupPipPackWithPython(foundPython, "venv", undefined, { upgrade: false, usePipx: false })
5051
} catch (err) {
5152
warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)
5253
}

0 commit comments

Comments
 (0)