commit d60be8e19c622926aa3c8c7bb8eb0ba4bce8e076
parent 1126555f14ed27d955227ec7baa51cf88629c3dd
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 2 Dec 2015 16:16:21 +0100
kivy: use exclude_dirs instead of blacklist
Diffstat:
2 files changed, 3 insertions(+), 10 deletions(-)
diff --git 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
@@ -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