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 ba1c093 + f283832 commit 9c9eac9
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 9c9eac9

Please sign in to comment.