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

Method install_libraries

pythonforandroid/recipe.py:606–617  ·  view source on GitHub ↗

This method is always called after `build_arch`. In case that we detect a library recipe, defined by the class attribute `built_libraries`, we will copy all defined libraries into the right location.

(self, arch)

Source from the content-addressed store, hash-verified

604 getattr(self, build)()
605
606 def install_libraries(self, arch):
607 '''This method is always called after `build_arch`. In case that we
608 detect a library recipe, defined by the class attribute
609 `built_libraries`, we will copy all defined libraries into the
610 right location.
611 '''
612 if not self.built_libraries:
613 return
614 shared_libs = [
615 lib for lib in self.get_libraries(arch) if lib.endswith(".so")
616 ]
617 self.install_libs(arch, *shared_libs)
618
619 def postbuild_arch(self, arch):
620 '''Run any post-build tasks for the Recipe. By default, this checks if

Callers 3

build_recipesFunction · 0.45

Calls 2

get_librariesMethod · 0.95
install_libsMethod · 0.95

Tested by 2