MCPcopy Create free account
hub / github.com/vercel/vercel / getVenvSitePackagesDirs

Function getVenvSitePackagesDirs

packages/python/src/install.ts:123–128  ·  view source on GitHub ↗
(
  venvPath: string
)

Source from the content-addressed store, hash-verified

121}
122
123export async function getVenvSitePackagesDirs(
124 venvPath: string
125): Promise<string[]> {
126 const pythonBin = getVenvPythonBin(venvPath);
127 return getSitePackagesDirs(pythonBin);
128}
129
130export function resolveVendorDir() {
131 const vendorDir = process.env.VERCEL_PYTHON_VENDOR_DIR || '_vendor';

Callers 5

analyzeMethod · 0.90
runFunction · 0.90
runQuirksFunction · 0.90
runFunction · 0.90

Calls 2

getVenvPythonBinFunction · 0.90
getSitePackagesDirsFunction · 0.85

Tested by

no test coverage detected