Skip to content

Commit

Permalink
Merge branch 'delete_.dSYM' of https://github.com/Luflosi/kitty
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Jun 24, 2019
2 parents f4f54b1 + f283832 commit 8ad0d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def safe_remove(*entries):
exclude = ('.git',)
for root, dirs, files in os.walk('.', topdown=True):
dirs[:] = [d for d in dirs if d not in exclude]
remove_dirs = {d for d in dirs if d == '__pycache__'}
remove_dirs = {d for d in dirs if d == '__pycache__' or d.endswith('.dSYM')}
[(shutil.rmtree(os.path.join(root, d)), dirs.remove(d)) for d in remove_dirs]
for f in files:
ext = f.rpartition('.')[-1]
Expand Down

0 comments on commit 8ad0d77

Please sign in to comment.