(self, arch)
| 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: |
no test coverage detected