Skip to content
Snippets Groups Projects
Commit 461c5cfe authored by u214892's avatar u214892
Browse files

fix master: exclude directories from include_data in setup.py

parent 6fb36086
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ else:
def get_all_svg_files(directory='./svg/'):
ret = []
for f in os.listdir(directory):
if f != '__pycache__':
if os.path.isfile(os.path.join(directory, f)):
ret.append(directory + f)
return ret
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment