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

Function unpack_deps

Android/android.py:213–220  ·  view source on GitHub ↗
(host, prefix_dir, cache_dir)

Source from the content-addressed store, hash-verified

211# If you're a member of the Python core team, and you'd like to be able to push
212# these tags yourself, please contact Malcolm Smith or Russell Keith-Magee.
213def unpack_deps(host, prefix_dir, cache_dir):
214 os.chdir(prefix_dir)
215 deps_url = "https://github.com/beeware/cpython-android-source-deps/releases/download"
216 for name_ver in ["bzip2-1.0.8-3", "libffi-3.4.4-3", "openssl-3.5.5-0",
217 "sqlite-3.50.4-0", "xz-5.4.6-1", "zstd-1.5.7-2"]:
218 filename = f"{name_ver}-{host}.tar.gz"
219 out_path = download(f"{deps_url}/{name_ver}/{filename}", cache_dir)
220 shutil.unpack_archive(out_path)
221
222
223def download(url, cache_dir):

Callers 1

configure_host_pythonFunction · 0.70

Calls 1

downloadFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…