From 9b9924838298446ec1c0b99480b30ae93d4301f2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 4 Mar 2021 20:55:47 +0530 Subject: [PATCH] Dont add .github to the source tarball --- setup/install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/install.py b/setup/install.py index 72d6a1849a..4e897d17c2 100644 --- a/setup/install.py +++ b/setup/install.py @@ -328,6 +328,7 @@ class Sdist(Command): 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)):