Skip to content

Commit 46f6568

Browse files
committed
fix: add the bin directory in python base exec prefix to the PATH
1 parent de9ae0b commit 46f6568

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dist/node12/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/node12/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/node16/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/node16/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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export async function addPythonBaseExecPrefix(python: string) {
140140

141141
// detection using python.sys
142142
const base_exec_prefix = (await getExecOutput(`${python} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim()
143-
dirs.push(join(base_exec_prefix, "Scripts"), join(base_exec_prefix, "Scripts", "bin"))
143+
dirs.push(join(base_exec_prefix, "Scripts"), join(base_exec_prefix, "bin"))
144144

145145
// exclude the non existing ones
146146
dirs = dirs.filter((dir) => existsSync(dir))

0 commit comments

Comments
 (0)