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

Method all_bootstraps

pythonforandroid/bootstrap.py:237–248  ·  view source on GitHub ↗

Find all the available bootstraps and return them.

(cls)

Source from the content-addressed store, hash-verified

235
236 @classmethod
237 def all_bootstraps(cls):
238 '''Find all the available bootstraps and return them.'''
239 forbidden_dirs = ('__pycache__', 'common', '_sdl_common')
240 bootstraps_dir = join(dirname(__file__), 'bootstraps')
241 result = set()
242 for name in listdir(bootstraps_dir):
243 if name in forbidden_dirs:
244 continue
245 filen = join(bootstraps_dir, name)
246 if isdir(filen):
247 result.add(name)
248 return result
249
250 @classmethod
251 def get_usable_bootstraps_for_recipes(cls, recipes, ctx):

Callers 3

bootstrapsMethod · 0.80
test_all_bootstrapsMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_all_bootstrapsMethod · 0.64