@@ -85,7 +85,7 @@ directory, which you can access with
8585this directory. It may be convenient to use the ``current_directory ``
8686context manager defined in toolchain.py::
8787
88- from toolchain import current_directory
88+ from pythonforandroid. toolchain import current_directory
8989 def build_arch(self, arch):
9090 super(YourRecipe, self).build_arch(arch)
9191 with current_directory(self.get_build_dir(arch.arch)):
@@ -162,7 +162,7 @@ You can also use the ``shprint`` helper function from the p4a
162162toolchain module, which will print information about the process and
163163its current status::
164164
165- from toolchain import shprint
165+ from pythonforandroid. toolchain import shprint
166166 shprint(sh.echo, '$PATH', _env=env)
167167
168168You can also override the ``get_recipe_env `` method to add new env
@@ -227,7 +227,7 @@ install`` with an appropriate environment.
227227For instance, the following is all that's necessary to create a recipe
228228for the Vispy module::
229229
230- from toolchain import PythonRecipe
230+ from pythonforandroid. toolchain import PythonRecipe
231231 class VispyRecipe(PythonRecipe):
232232 version = 'master'
233233 url = 'https://github.com/vispy/vispy/archive/{version}.zip'
@@ -388,7 +388,7 @@ The following template includes all the recipe sections you might
388388use. Note that none are compulsory, feel free to delete method
389389overrides if you do not use them::
390390
391- from toolchain import Recipe, shprint, current_directory
391+ from pythonforandroid. toolchain import Recipe, shprint, current_directory
392392 from os.path import exists, join
393393 import sh
394394 import glob
0 commit comments