Explorar el Código

extend the clean-function

Sven Czarnian hace 3 años
padre
commit
b92f437fcb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)