mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
linux freeze: Handle six.py
This commit is contained in:
parent
1326dfe243
commit
a6567a7c03
@ -189,8 +189,11 @@ class LinuxFreeze(Command):
|
|||||||
raise ValueError('%s does not exist in site-packages' % x)
|
raise ValueError('%s does not exist in site-packages' % x)
|
||||||
|
|
||||||
for x in os.listdir(self.SRC):
|
for x in os.listdir(self.SRC):
|
||||||
shutil.copytree(self.j(self.SRC, x), self.j(dest, x),
|
if os.path.isdir(self.j(self.SRC, x)):
|
||||||
ignore=ignore_in_lib)
|
shutil.copytree(self.j(self.SRC, x), self.j(dest, x),
|
||||||
|
ignore=ignore_in_lib)
|
||||||
|
else:
|
||||||
|
shutil.copy2(self.j(self.SRC, x), self.j(dest, x))
|
||||||
for x in ('trac',):
|
for x in ('trac',):
|
||||||
x = self.j(dest, 'calibre', x)
|
x = self.j(dest, 'calibre', x)
|
||||||
if os.path.exists(x):
|
if os.path.exists(x):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user