mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use a timestamp of now rather than 0 for the sdist tarball
This commit is contained in:
parent
f0d2639930
commit
1f296569f3
@ -339,7 +339,7 @@ class Sdist(Command):
|
||||
self.info('\tCreating tarfile...')
|
||||
dest = self.DEST.rpartition('.')[0]
|
||||
shutil.rmtree(os.path.join(tdir, '.github'))
|
||||
subprocess.check_call(['tar', '--mtime=@0', '-cf', self.a(dest), 'calibre-%s' % __version__], cwd=self.d(tdir))
|
||||
subprocess.check_call(['tar', '--mtime=now', '-cf', self.a(dest), 'calibre-%s' % __version__], cwd=self.d(tdir))
|
||||
self.info('\tCompressing tarfile...')
|
||||
if os.path.exists(self.a(self.DEST)):
|
||||
os.remove(self.a(self.DEST))
|
||||
|
Loading…
x
Reference in New Issue
Block a user