MCPcopy Index your code
hub / github.com/kivy/python-for-android / install_prebuilt_wheel

Method install_prebuilt_wheel

pythonforandroid/recipe.py:1330–1341  ·  view source on GitHub ↗
(self, arch)

Source from the content-addressed store, hash-verified

1328 return PyProjectRecipe.get_wheel_platform_tags(arch, self.ctx)[0]
1329
1330 def install_prebuilt_wheel(self, arch):
1331 info("Installing prebuilt wheel")
1332 destination = self.ctx.get_python_install_dir(arch.arch)
1333 pip_options = self.get_pip_install_args(arch)
1334 pip_options.extend(["--target", destination])
1335 pip_options.append("--upgrade")
1336 pip_env = self.get_hostrecipe_env()
1337 try:
1338 shprint(self._host_recipe.pip, *pip_options, _env=pip_env)
1339 except Exception:
1340 return False
1341 return True
1342
1343 def install_wheel(self, arch, built_wheels):
1344 with patch_wheel_setuptools_logging():

Callers 1

build_archMethod · 0.95

Calls 4

get_pip_install_argsMethod · 0.95
shprintFunction · 0.90
get_hostrecipe_envMethod · 0.45

Tested by

no test coverage detected