mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-24 22:54:28 +01:00
Fix issues with script to create windows installer
This commit is contained in:
parent
0cf1163000
commit
c44bd5ab55
2 changed files with 3 additions and 3 deletions
4
setup.py
4
setup.py
|
|
@ -49,7 +49,7 @@
|
|||
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 @@
|
|||
|
||||
!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 @@ def parse_tag(self, tag, parent_css):
|
|||
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…
Reference in a new issue