allow glsl files in examples (fixes #3716)

This commit is contained in:
Ben Hagen 2015-11-04 01:00:56 +01:00
parent d1c69d1060
commit 3fe3dd14c7
1 changed files with 2 additions and 1 deletions

View File

@ -816,7 +816,8 @@ ext_modules = get_extensions_from_sources(sources)
data_file_prefix = 'share/kivy-'
examples = {}
examples_allowed_ext = ('readme', 'py', 'wav', 'png', 'jpg', 'svg', 'json',
'avi', 'gif', 'txt', 'ttf', 'obj', 'mtl', 'kv', 'mpg')
'avi', 'gif', 'txt', 'ttf', 'obj', 'mtl', 'kv', 'mpg',
'glsl')
for root, subFolders, files in walk('examples'):
for fn in files:
ext = fn.split('.')[-1].lower()