Selaa lähdekoodia

extend the clean-function

Sven Czarnian 3 vuotta sitten
vanhempi
commit
b92f437fcb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -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)