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

Method get_bootstrap_dirs

pythonforandroid/bootstrap.py:142–152  ·  view source on GitHub ↗

get all bootstrap directories, following the MRO path

(self)

Source from the content-addressed store, hash-verified

140 return modname.split(".", 2)[-1]
141
142 def get_bootstrap_dirs(self):
143 """get all bootstrap directories, following the MRO path"""
144
145 # get all bootstrap names along the __mro__, cutting off Bootstrap and object
146 classes = self.__class__.__mro__[:-2]
147 bootstrap_names = [cls.name for cls in classes] + ['common']
148 bootstrap_dirs = [
149 join(self.ctx.root_dir, 'bootstraps', bootstrap_name)
150 for bootstrap_name in reversed(bootstrap_names)
151 ]
152 return bootstrap_dirs
153
154 def _copy_in_final_files(self):
155 if self.name in SDL_BOOTSTRAPS:

Callers 1

prepare_build_dirMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected