From 04b299730a501fa4a4220c18b2152da6f1d4d0f3 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Sun, 15 Aug 2021 09:01:39 +0200 Subject: [PATCH] delete the precompiled python cache --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9410f3f..67ef4a9 100644 --- a/setup.py +++ b/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 or 'dist' == dirname: + if 'Arrival_MANager.egg-info' == dirname or 'build' == dirname or 'dist' == dirname or '__pycache__' == dirname: shutil.rmtree(os.path.join(dirpath, dirname)) _clean.run(self)