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

Method setUp

tests/test_bootstrap.py:30–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 TEST_ARCH = 'armeabi-v7a'
29
30 def setUp(self):
31 Recipe.recipes = {} # clear Recipe class cache
32 self.ctx = Context()
33 self.ctx.ndk_api = 21
34 self.ctx.android_api = 27
35 self.ctx._sdk_dir = "/opt/android/android-sdk"
36 self.ctx._ndk_dir = "/opt/android/android-ndk"
37 self.ctx.ndk = AndroidNDK(self.ctx._ndk_dir)
38 self.ctx.setup_dirs(os.getcwd())
39 self.ctx.recipe_build_order = [
40 "hostpython3",
41 "python3",
42 "sdl2",
43 "kivy",
44 ]
45
46 def setUp_distribution_with_bootstrap(self, bs):
47 """

Callers

nothing calls this directly

Calls 3

ContextClass · 0.90
AndroidNDKClass · 0.90
setup_dirsMethod · 0.80

Tested by

no test coverage detected