From e76ca14d63ebaaded78bb944a08b42f3c5fe7454 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 11 Sep 2017 13:24:29 +0200 Subject: [PATCH] Keep the symlinks. It seems that shutil.copytree on travis fails to copy symlinks to directory. It is probably due to last travis changes. Let's keep the symlinks as they are. --- dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies.py b/dependencies.py index 478c176..dd164cd 100644 --- a/dependencies.py +++ b/dependencies.py @@ -377,7 +377,7 @@ class KiwixAndroid(Dependency): def _configure(self, context): if not os.path.exists(self.build_path): - shutil.copytree(self.source_path, self.build_path) + shutil.copytree(self.source_path, self.build_path, symlinks=True) try: shutil.rmtree(pj(self.build_path, 'kiwixlib', 'src', 'main')) except FileNotFoundError: