You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
461 B
12 lines
461 B
import os |
|
|
|
|
|
class InheritedRecipeMixin: |
|
|
|
def get_recipe_dir(self): |
|
"""This is used to replace pythonforandroid.recipe.Recipe.get_recipe_dir. |
|
If one of our local recipes inherits from a built-in p4a recipe, this override |
|
ensures that potential patches and other local files used by the recipe will |
|
be looked for in the built-in recipe's folder. |
|
""" |
|
return os.path.join(self.ctx.root_dir, 'recipes', self.name)
|
|
|