extend the clean-function
This commit is contained in:
1 parent
355a5463e5
commit
b92f437fcb
1 file changed
+1
-1
@@ -38,7 +38,7 @@ class clean(_clean):
|
|||||||
if filepath.endswith('_pb2.py') or filepath.endswith('.pyc'):
|
if filepath.endswith('_pb2.py') or filepath.endswith('.pyc'):
|
||||||
os.remove(filepath)
|
os.remove(filepath)
|
||||||
for dirname in dirnames:
|
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))
|
shutil.rmtree(os.path.join(dirpath, dirname))
|
||||||
_clean.run(self)
|
_clean.run(self)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user