From 5319fac2a90a27c41105d96d61fc8d7027f0590f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 17 Sep 2009 17:20:30 -0600 Subject: [PATCH] IGN:Remove not-needed files that were being installed to /usr/lib/calibre by the install command --- setup/install.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup/install.py b/setup/install.py index 3e90e35104..c321c94e57 100644 --- a/setup/install.py +++ b/setup/install.py @@ -166,6 +166,11 @@ class Install(Develop): if os.path.exists(dest): shutil.rmtree(dest) shutil.copytree(self.SRC, dest) + for x in ('calibre/manual', 'calibre/trac', + 'calibre/ebooks/lrf/html/demo'): + x = self.j(dest, x) + if os.path.exists(dest): + shutil.rmtree(x) dest = self.resources if os.path.exists(dest): shutil.rmtree(dest)