MCPcopy
hub / github.com/lightningpixel/modly / getEmbeddedPythonExe

Function getEmbeddedPythonExe

electron/main/python-setup.ts:57–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57export function getEmbeddedPythonExe(): string {
58 const dir = getEmbeddedPythonDir()
59 return process.platform === 'win32' ? join(dir, 'python.exe') : join(dir, 'bin', 'python3')
60}
61
62/** Venv lives inside dependenciesDir on Windows (user-configurable drive), userData on Linux. */
63export function getVenvDir(userData: string): string {

Callers 1

runFullSetupFunction · 0.85

Calls 1

getEmbeddedPythonDirFunction · 0.85

Tested by

no test coverage detected