mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 12:13:17 +02:00
linux freeze: Handle six.py
This commit is contained in:
parent
1326dfe243
commit
a6567a7c03
1 changed files with 5 additions and 2 deletions
|
|
@ -189,8 +189,11 @@ def ignore_in_lib(base, items):
|
|||
raise ValueError('%s does not exist in site-packages' % x)
|
||||
|
||||
for x in os.listdir(self.SRC):
|
||||
shutil.copytree(self.j(self.SRC, x), self.j(dest, x),
|
||||
ignore=ignore_in_lib)
|
||||
if os.path.isdir(self.j(self.SRC, x)):
|
||||
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',):
|
||||
x = self.j(dest, 'calibre', x)
|
||||
if os.path.exists(x):
|
||||
|
|
|
|||
Loading…
Reference in a new issue