diff --git a/setup/install.py b/setup/install.py index 72d6a1849a4b..4e897d17c20b 100644 --- a/setup/install.py +++ b/setup/install.py @@ -328,6 +328,7 @@ def run(self, opts): self.info('\tCreating tarfile...') dest = self.DEST.rpartition('.')[0] + shutil.rmtree(os.path.join(tdir, '.github')) subprocess.check_call(['tar', '-cf', self.a(dest), 'calibre-%s' % __version__], cwd=self.d(tdir)) self.info('\tCompressing tarfile...') if os.path.exists(self.a(self.DEST)):