From d60be8e19c622926aa3c8c7bb8eb0ba4bce8e076 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 2 Dec 2015 16:16:21 +0100 Subject: [PATCH] kivy: use exclude_dirs instead of blacklist --- gui/kivy/tools/blacklist.txt | 8 -------- gui/kivy/tools/buildozer.spec | 5 +++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/gui/kivy/tools/blacklist.txt b/gui/kivy/tools/blacklist.txt index 3ef15a100..bb689ff32 100644 --- a/gui/kivy/tools/blacklist.txt +++ b/gui/kivy/tools/blacklist.txt @@ -24,14 +24,6 @@ pygame/sndarray.pyo pygame/surfarray.pyo pygame/_arraysurfarray.pyo -# unused electrum -gui/android* -gui/gtk* -gui/qt* -gui/kivy/tools -build/* -contrib/* - # unused kivy files (platform specific) kivy/input/providers/wm_* kivy/input/providers/mactouch* diff --git a/gui/kivy/tools/buildozer.spec b/gui/kivy/tools/buildozer.spec index 6fc6af7d8..08e1daa99 100644 --- a/gui/kivy/tools/buildozer.spec +++ b/gui/kivy/tools/buildozer.spec @@ -13,13 +13,14 @@ package.domain = org.electrum source.dir = . # (list) Source files to include (let empty to include all the files) -source.include_exts = py,png,jpg,kv,atlas,ttf,*,txt, gif, pem +source.include_exts = py,png,jpg,kv,atlas,ttf,txt, gif, pem # (list) Source files to exclude (let empty to not exclude anything) source.exclude_exts = spec # (list) List of directory to exclude (let empty to not exclude anything) -#source.exclude_dirs = +source.exclude_dirs = bin, build, contrib, gui/android, gui/gtk, gui/qt, gui/kivy/tools + # (list) List of exclusions using pattern matching #source.exclude_patterns = license,images/*/*.jpg