Skip to content

Commit

Permalink
Dont add .github to the source tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Mar 4, 2021
1 parent 6468dfd commit 9b99248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down

0 comments on commit 9b99248

Please sign in to comment.