We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3650d7 commit c3a5020Copy full SHA for c3a5020
1 file changed
pythonforandroid/recipe.py
@@ -582,6 +582,10 @@ def clean_build(self, arch=None):
582
info('Deleting {}'.format(directory))
583
shutil.rmtree(directory)
584
585
+ # Delete any Python distributions to ensure the recipe build
586
+ # doesn't persist in site-packages
587
+ shutil.rmtree(self.ctx.python_installs_dir)
588
+
589
def install_libs(self, arch, *libs):
590
libs_dir = self.ctx.get_libs_dir(arch.arch)
591
if not libs:
0 commit comments