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

Method set_archs

pythonforandroid/build.py:412–423  ·  view source on GitHub ↗
(self, arch_names)

Source from the content-addressed store, hash-verified

410 self.python_recipe = None # Set by TargetPythonRecipe
411
412 def set_archs(self, arch_names):
413 all_archs = self.archs
414 new_archs = set()
415 for name in arch_names:
416 matching = [arch for arch in all_archs if arch.arch == name]
417 for match in matching:
418 new_archs.add(match)
419 self.archs = list(new_archs)
420 if not self.archs:
421 raise BuildInterruptingException('Asked to compile for no Archs, so failing.')
422 info('Will compile for the following archs: {}'.format(
423 ', '.join(arch.arch for arch in self.archs)))
424
425 def prepare_bootstrap(self, bootstrap):
426 if not bootstrap:

Callers 1

wrapper_funcFunction · 0.80

Calls 2

formatMethod · 0.80

Tested by

no test coverage detected