MCPcopy Create free account
hub / github.com/kivy/python-for-android / clean_builds

Method clean_builds

pythonforandroid/toolchain.py:883–895  ·  view source on GitHub ↗

Delete all build caches for each recipe, python-install, java code and compiled libs collection. This does *not* delete the package download cache or the final distributions. You can also use clean_recipe_build to delete the build of a specific recipe.

(self, _args)

Source from the content-addressed store, hash-verified

881 # rmdir(bs.build_dir)
882
883 def clean_builds(self, _args):
884 """Delete all build caches for each recipe, python-install, java code
885 and compiled libs collection.
886
887 This does *not* delete the package download cache or the final
888 distributions. You can also use clean_recipe_build to delete the build
889 of a specific recipe.
890 """
891 ctx = self.ctx
892 rmdir(ctx.build_dir)
893 rmdir(ctx.python_installs_dir)
894 libs_dir = join(self.ctx.build_dir, 'libs_collections')
895 rmdir(libs_dir)
896
897 def clean_recipe_build(self, args):
898 """Deletes the build files of the given recipe.

Callers 1

clean_allMethod · 0.95

Calls 1

rmdirFunction · 0.90

Tested by

no test coverage detected