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

Method distribute_javaclasses

pythonforandroid/bootstrap.py:379–384  ·  view source on GitHub ↗

Copy existing javaclasses from build dir to current dist dir.

(self, javaclass_dir, dest_dir="src")

Source from the content-addressed store, hash-verified

377 shprint(sh.cp, '-a', *libs, tgt_dir)
378
379 def distribute_javaclasses(self, javaclass_dir, dest_dir="src"):
380 '''Copy existing javaclasses from build dir to current dist dir.'''
381 info('Copying java files')
382 ensure_dir(dest_dir)
383 filenames = glob.glob(javaclass_dir)
384 shprint(sh.cp, '-a', *filenames, dest_dir)
385
386 def distribute_aars(self, arch):
387 '''Process existing .aar bundles and copy to current dist dir.'''

Callers 3

assemble_distributionMethod · 0.95
assemble_distributionMethod · 0.80

Calls 2

ensure_dirFunction · 0.90
shprintFunction · 0.90

Tested by 1