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

Method get_recipe_dir

pythonforandroid/recipe.py:372–381  ·  view source on GitHub ↗

Returns the local recipe directory or defaults to the core recipe directory.

(self)

Source from the content-addressed store, hash-verified

370 return join(self.get_build_container_dir(arch), self.name)
371
372 def get_recipe_dir(self):
373 """
374 Returns the local recipe directory or defaults to the core recipe
375 directory.
376 """
377 if self.ctx.local_recipes is not None:
378 local_recipe_dir = join(self.ctx.local_recipes, self.name)
379 if exists(local_recipe_dir):
380 return local_recipe_dir
381 return join(self.ctx.root_dir, 'recipes', self.name)
382
383 # Public Recipe API to be subclassed if needed
384

Callers 5

apply_patchMethod · 0.95
copy_fileMethod · 0.95
append_fileMethod · 0.95
prepare_build_dirMethod · 0.45
test_get_recipe_dirMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_get_recipe_dirMethod · 0.36