mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
setup.py: include again all soundpacks. Include enchant dictionaries
This commit is contained in:
parent
7928cf5f24
commit
0dd082079e
@ -51,7 +51,10 @@ def get_data():
|
||||
("", [certs.where()]),
|
||||
("keys/lib", glob("keys/lib/*.dll")),
|
||||
("keymaps", glob("keymaps/*.keymap")),
|
||||
]+get_sounds()+get_locales()+get_documentation()+sound_lib.find_datafiles()+accessible_output2.find_datafiles()+enchant.utils.win32_data_files()+get_architecture_files()+wx_files()
|
||||
]+get_sounds()+get_locales()+get_documentation()+sound_lib.find_datafiles()+accessible_output2.find_datafiles()+enchant.utils.win32_data_files()+get_architecture_files()+wx_files()+get_dictionaries()
|
||||
|
||||
def get_dictionaries():
|
||||
return [("share/enchant/myspell", glob("../windows-dependencies/dictionaries/*"))]
|
||||
|
||||
def get_documentation ():
|
||||
answer = [("documentation", ["documentation/license.txt"])]
|
||||
@ -66,7 +69,7 @@ def get_documentation ():
|
||||
|
||||
def get_sounds():
|
||||
answer = []
|
||||
depth = 6
|
||||
depth = 10
|
||||
for root, dirs, files in os.walk('sounds'):
|
||||
if depth == 0:
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user