Better clean command in setup.py

This commit is contained in:
Lonami Exo
2019-05-04 17:51:14 +02:00
parent 05fcbfd7b7
commit 84c197be60
2 changed files with 5 additions and 7 deletions

View File

@@ -737,7 +737,7 @@ def generate_tlobjects(tlobjects, layer, import_depth, output_dir):
def clean_tlobjects(output_dir):
for d in ('functions', 'types'):
for d in ('functions', 'types', 'patched'):
d = output_dir / d
if d.is_dir():
shutil.rmtree(str(d))