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

Function dist_from_args

pythonforandroid/toolchain.py:109–121  ·  view source on GitHub ↗

Parses out any distribution-related arguments, and uses them to obtain a Distribution class instance for the build.

(ctx, args)

Source from the content-addressed store, hash-verified

107
108
109def dist_from_args(ctx, args):
110 """Parses out any distribution-related arguments, and uses them to
111 obtain a Distribution class instance for the build.
112 """
113 return Distribution.get_distribution(
114 ctx,
115 name=args.dist_name,
116 recipes=split_argument_list(args.requirements),
117 archs=args.arch,
118 ndk_api=args.ndk_api,
119 force_build=args.force_build,
120 require_perfect_match=args.require_perfect_match,
121 allow_replace_dist=args.allow_replace_dist)
122
123
124def build_dist_from_args(ctx, dist, args):

Callers 2

export_distMethod · 0.85
_distMethod · 0.85

Calls 2

split_argument_listFunction · 0.85
get_distributionMethod · 0.80

Tested by

no test coverage detected