MCPcopy Index your code
hub / github.com/python/cpython / get_pip_dir

Function get_pip_dir

PC/layout/support/pip.py:19–25  ·  view source on GitHub ↗
(ns)

Source from the content-addressed store, hash-verified

17
18
19def get_pip_dir(ns):
20 if ns.copy:
21 if ns.zip_lib:
22 return ns.copy / "packages"
23 return ns.copy / "Lib" / "site-packages"
24 else:
25 return ns.temp / "packages"
26
27
28def get_pip_layout(ns):

Callers 2

get_pip_layoutFunction · 0.85
extract_pip_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…