mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
8eb9b269e4
commit
7e71f8648e
@ -110,7 +110,8 @@ class BuildEXE(py2exe.build_exe.py2exe):
|
||||
print '\tAdding pdftohtml'
|
||||
shutil.copyfile(PDFTOHTML, os.path.join(PY2EXE_DIR, os.path.basename(PDFTOHTML)))
|
||||
print '\tAdding ImageMagick'
|
||||
shutil.copytree(IMAGEMAGICK_DIR, os.path.join(PY2EXE_DIR, 'ImageMagick'))
|
||||
for f in os.listdir(IMAGEMAGICK_DIR):
|
||||
shutil.copyfile(os.path.join(IMAGEMAGICK_DIR, f), os.path.join(PY2EXE_DIR, f))
|
||||
print '\tCopying fontconfig'
|
||||
for f in glob.glob(os.path.join(FONTCONFIG_DIR, '*')):
|
||||
tgt = os.path.join(PY2EXE_DIR, os.path.basename(f))
|
||||
|
@ -76,7 +76,7 @@ if isosx:
|
||||
_lib = os.path.join(getattr(sys, 'frameworks_dir'), 'ImageMagick', 'libMagickWand.dylib') \
|
||||
if isfrozen else util.find_library('Wand')
|
||||
elif iswindows:
|
||||
_lib = os.path.join(os.path.dirname(sys.executable), 'ImageMagick', 'CORE_RL_wand_.dll') \
|
||||
_lib = os.path.join(os.path.dirname(sys.executable), 'CORE_RL_wand_.dll') \
|
||||
if isfrozen else 'CORE_RL_wand_'
|
||||
else:
|
||||
_lib = util.find_library('MagickWand')
|
||||
|
Loading…
x
Reference in New Issue
Block a user