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

Method pip

packages/python/src/uv.ts:213–221  ·  view source on GitHub ↗

* Run a `uv pip` command (e.g., `uv pip install`).

(options: {
    venvPath: string;
    projectDir: string;
    args: string[];
  })

Source from the content-addressed store, hash-verified

211 * Run a `uv pip` command (e.g., `uv pip install`).
212 */
213 async pip(options: {
214 venvPath: string;
215 projectDir: string;
216 args: string[];
217 }): Promise<void> {
218 const { venvPath, projectDir, args } = options;
219 const fullArgs = ['pip', ...args];
220 await this.runUvCmd(fullArgs, projectDir, venvPath);
221 }
222
223 /**
224 * Prune the uv cache for CI: removes pre-built wheels and unzipped source

Callers 1

installInjectedPackageFunction · 0.45

Calls 1

runUvCmdMethod · 0.95

Tested by

no test coverage detected