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

Function max_build_tool_version

pythonforandroid/util.py:164–173  ·  view source on GitHub ↗

Returns the maximum build tools version from a list of build tools versions. It uses the :meth:`build_tools_version_sort_key` function to canonicalize the version strings and then returns the maximum version.

(
    build_tools_versions: list,
)

Source from the content-addressed store, hash-verified

162
163
164def max_build_tool_version(
165 build_tools_versions: list,
166) -> str:
167 """
168 Returns the maximum build tools version from a list of build tools
169 versions. It uses the :meth:`build_tools_version_sort_key` function to
170 canonicalize the version strings and then returns the maximum version.
171 """
172
173 return max(build_tools_versions, key=build_tools_version_sort_key)
174
175
176def patch_wheel_setuptools_logging():

Callers 1

_build_packageMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected