Includes the folder documentation in distributables
This commit is contained in:
parent
a795eeee4c
commit
c557171fb7
20
src/setup.py
20
src/setup.py
@ -46,16 +46,16 @@ def get_data():
|
||||
|
||||
]+get_sounds()+get_locales()+get_documentation()+accessible_output2.find_datafiles()+enchant.utils.win32_data_files()+get_architecture_files()+sound_lib.find_datafiles()
|
||||
|
||||
def get_documentation (): return []
|
||||
# answer = []
|
||||
# depth = 6
|
||||
# for root, dirs, files in os.walk('documentation'):
|
||||
# if depth == 0:
|
||||
# break
|
||||
# new = (root, glob(os.path.join(root, "*.html")))
|
||||
# answer.append(new)
|
||||
# depth -= 1
|
||||
# return answer
|
||||
def get_documentation ():
|
||||
answer = []
|
||||
depth = 6
|
||||
for root, dirs, files in os.walk('documentation'):
|
||||
if depth == 0:
|
||||
break
|
||||
new = (root, glob(os.path.join(root, "*.html")))
|
||||
answer.append(new)
|
||||
depth -= 1
|
||||
return answer
|
||||
|
||||
def get_sounds(): return []
|
||||
# answer = []
|
||||
|
Loading…
Reference in New Issue
Block a user