mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
build: preserve symlinks when installing
Without this, python's default behavior was to dereference the mathjax symlinks and install the file contents instead.
This commit is contained in:
parent
3f1cc2725a
commit
18ad088bda
@ -259,7 +259,7 @@ class Install(Develop):
|
||||
if os.path.exists(dest):
|
||||
shutil.rmtree(dest)
|
||||
self.info('Installing resources to', dest)
|
||||
shutil.copytree(self.RESOURCES, dest)
|
||||
shutil.copytree(self.RESOURCES, dest, symlinks=True)
|
||||
self.manifest.append(dest)
|
||||
|
||||
def success(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user