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

Method distributions

pythonforandroid/toolchain.py:1186–1198  ·  view source on GitHub ↗

Lists all distributions currently available (i.e. that have already been built).

(self, _args)

Source from the content-addressed store, hash-verified

1184 self.distributions(args)
1185
1186 def distributions(self, _args):
1187 """Lists all distributions currently available (i.e. that have already
1188 been built)."""
1189 ctx = self.ctx
1190 dists = Distribution.get_distributions(ctx)
1191
1192 if dists:
1193 print('{Style.BRIGHT}Distributions currently installed are:'
1194 '{Style.RESET_ALL}'.format(Style=Out_Style))
1195 pretty_log_dists(dists, print)
1196 else:
1197 print('{Style.BRIGHT}There are no dists currently built.'
1198 '{Style.RESET_ALL}'.format(Style=Out_Style))
1199
1200 def delete_dist(self, _args):
1201 dist = self._dist

Callers 1

distsMethod · 0.95

Calls 3

pretty_log_distsFunction · 0.90
get_distributionsMethod · 0.80
formatMethod · 0.80

Tested by

no test coverage detected