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

Method should_build

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

Source from the content-addressed store, hash-verified

995 return env
996
997 def should_build(self, arch):
998 name = self.folder_name
999 if self.ctx.has_package(name, arch):
1000 info('Python package already exists in site-packages')
1001 return False
1002 info('{} apparently isn\'t already in site-packages'.format(name))
1003 return True
1004
1005 def build_arch(self, arch):
1006 '''Install the Python module by calling setup.py install with

Callers

nothing calls this directly

Calls 2

has_packageMethod · 0.80
formatMethod · 0.80

Tested by

no test coverage detected