mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Dont add .github to the source tarball
This commit is contained in:
parent
6468dfd58d
commit
9b99248382
@ -328,6 +328,7 @@ class Sdist(Command):
|
|||||||
|
|
||||||
self.info('\tCreating tarfile...')
|
self.info('\tCreating tarfile...')
|
||||||
dest = self.DEST.rpartition('.')[0]
|
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))
|
subprocess.check_call(['tar', '-cf', self.a(dest), 'calibre-%s' % __version__], cwd=self.d(tdir))
|
||||||
self.info('\tCompressing tarfile...')
|
self.info('\tCompressing tarfile...')
|
||||||
if os.path.exists(self.a(self.DEST)):
|
if os.path.exists(self.a(self.DEST)):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user