From 73c125f1ae18201a4d7f9cc805c5b7fadbe4f7af Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Fri, 5 Feb 2016 20:24:24 -0500 Subject: [PATCH] Remove Plinth.egg-info/ during clean. Fixes #335. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f1c92d95f..c56b01c4c 100755 --- a/setup.py +++ b/setup.py @@ -107,9 +107,10 @@ class CustomBuild(build): class CustomClean(clean): - """Override clean command to clean documentation directory""" + """Override clean command to clean doc, locales, and egg-info.""" def run(self): """Execute clean command""" + subprocess.check_call(['rm', '-rf', 'Plinth.egg-info/']) subprocess.check_call(['make', '-C', 'doc', 'clean']) for dir_path, dir_names, file_names in os.walk('plinth/locale/'): for file_name in file_names: