MCPcopy Create free account
hub / github.com/kivy/python-for-android / write_wrapper

Method write_wrapper

pythonforandroid/recipe.py:1424–1431  ·  view source on GitHub ↗
(self, arch, name, content)

Source from the content-addressed store, hash-verified

1422 return join(self.get_build_dir(arch.arch), "p4a_wrappers")
1423
1424 def write_wrapper(self, arch, name, content):
1425 wrapper_dir = self.get_wrapper_dir(arch)
1426 ensure_dir(wrapper_dir)
1427 wrapper_path = join(wrapper_dir, name)
1428 with open(wrapper_path, "w") as f:
1429 f.write(content)
1430 chmod(wrapper_path, 0o755)
1431 return wrapper_path
1432
1433 def get_python_wrapper(self, arch):
1434 """

Callers 2

get_python_wrapperMethod · 0.95
get_config_wrappersMethod · 0.95

Calls 2

get_wrapper_dirMethod · 0.95
ensure_dirFunction · 0.90

Tested by

no test coverage detected