mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix issues with script to create windows installer
This commit is contained in:
parent
0cf1163000
commit
c44bd5ab55
4
setup.py
4
setup.py
@ -49,7 +49,7 @@ if sys.argv[1] == 'py2exe':
|
||||
print >>sys.stderr, 'Must be in Windows to run py2exe'
|
||||
sys.exit(1)
|
||||
installer = \
|
||||
'''
|
||||
r'''
|
||||
SetCompressor lzma
|
||||
ShowInstDetails show
|
||||
ShowUnInstDetails show
|
||||
@ -67,7 +67,7 @@ Var MUI_TEMP
|
||||
|
||||
!define PRODUCT_NAME "libprs500"
|
||||
!define XPUI_BRANDINGTEXT "${PRODUCT_NAME} created by Kovid Goyal"
|
||||
!define PRODUCT_VERSION "'''+VERSION+'''"
|
||||
!define PRODUCT_VERSION "'''+VERSION+r'''"
|
||||
!define WEBSITE "https://libprs500.kovidgoyal.net"
|
||||
!define PY2EXE_DIR "C:\libprs500"
|
||||
!define LIBUSB_DIR "C:\libusb-prs500"
|
||||
|
@ -601,7 +601,7 @@ class HTMLConverter(object):
|
||||
self.current_para.append_to(self.current_block)
|
||||
self.current_para = Paragraph()
|
||||
if not self.current_block.get_text().strip():
|
||||
# THis is neccessary as apparently the reader
|
||||
# This is neccessary as apparently the reader
|
||||
# cannot handle empty TextBlocks, although
|
||||
# the Connect software displays them correctly
|
||||
mkr = TextBlock()
|
||||
|
Loading…
x
Reference in New Issue
Block a user