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

Method lookup_prebuilt

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

Source from the content-addressed store, hash-verified

1272 return opts
1273
1274 def lookup_prebuilt(self, arch):
1275 pip_options = self.get_pip_install_args(arch)
1276 # do not install
1277 pip_options.extend(["--dry-run", "-q"])
1278 pip_env = self.get_hostrecipe_env()
1279 try:
1280 shprint(self._host_recipe.pip, *pip_options, _env=pip_env, silent=True)
1281 except Exception:
1282 return False
1283 return True
1284
1285 def check_prebuilt(self, arch, msg=""):
1286 if self.ctx.skip_prebuilt:

Callers 1

check_prebuiltMethod · 0.95

Calls 3

get_pip_install_argsMethod · 0.95
shprintFunction · 0.90
get_hostrecipe_envMethod · 0.45

Tested by

no test coverage detected