extend the clean-function

This commit is contained in:
Sven Czarnian
2021-08-14 21:28:53 +02:00
parent 355a5463e5
commit b92f437fcb

View File

@@ -38,7 +38,7 @@ class clean(_clean):
if filepath.endswith('_pb2.py') or filepath.endswith('.pyc'):
os.remove(filepath)
for dirname in dirnames:
if 'Arrival_MANager.egg-info' == dirname or 'build' == dirname:
if 'Arrival_MANager.egg-info' == dirname or 'build' == dirname or 'dist' == dirname:
shutil.rmtree(os.path.join(dirpath, dirname))
_clean.run(self)