From 04220f87a102a6290ce421e643247079130e1cc4 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Fri, 10 Jun 2011 02:42:23 +0200 Subject: [PATCH] setup: add *.json to be copied when kivy is installed --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 48a37f634..2155519f5 100644 --- a/setup.py +++ b/setup.py @@ -171,7 +171,7 @@ if True: #extracts all examples files except sandbox data_file_prefix = 'share/kivy-' examples = {} -examples_allowed_ext = ('readme', 'py', 'wav', 'png', 'jpg', 'svg', +examples_allowed_ext = ('readme', 'py', 'wav', 'png', 'jpg', 'svg', 'json', 'avi', 'gif', 'txt', 'ttf', 'obj', 'mtl', 'kv') for root, subFolders, files in walk('examples'): if 'sandbox' in root: @@ -227,6 +227,7 @@ setup( package_dir={'kivy': 'kivy'}, package_data={'kivy': [ 'data/*.kv', + 'data/*.json', 'data/fonts/*.ttf', 'data/images/*.png', 'data/images/*.jpg',