MCPcopy
hub / github.com/httpie/cli / run_pip

Function run_pip

httpie/manager/compat.py:62–68  ·  view source on GitHub ↗
(args: List[str])

Source from the content-addressed store, hash-verified

60
61
62def run_pip(args: List[str]) -> bytes:
63 if is_frozen:
64 pip_executable = [_discover_system_pip()]
65 else:
66 pip_executable = [sys.executable, '-m', 'pip']
67
68 return _run_pip_subprocess(pip_executable, args)

Callers 1

_installMethod · 0.90

Calls 2

_discover_system_pipFunction · 0.85
_run_pip_subprocessFunction · 0.85

Tested by

no test coverage detected