mirror of https://github.com/kivy/kivy.git
setup: add *.json to be copied when kivy is installed
This commit is contained in:
parent
b6f22cf619
commit
04220f87a1
3
setup.py
3
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',
|
||||
|
|
Loading…
Reference in New Issue