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

Function is_wheel_compatible

pythonforandroid/build.py:683–690  ·  view source on GitHub ↗
(whl_name, arch, ctx)

Source from the content-addressed store, hash-verified

681
682
683def is_wheel_compatible(whl_name, arch, ctx):
684 name, version, build, tags = parse_wheel_filename(whl_name)
685 supported_tags = PyProjectRecipe.get_wheel_platform_tags(arch.arch, ctx)
686 supported_tags.append("any")
687 result = all(tag.platform in supported_tags for tag in tags)
688 if not result:
689 warning(f"Incompatible module : {whl_name}")
690 return result
691
692
693def process_python_modules(ctx, modules, arch):

Callers 2

process_python_modulesFunction · 0.85

Calls 1

Tested by 1