mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Option to not build installers
This commit is contained in:
parent
3565840a07
commit
645f1d138f
@ -62,6 +62,8 @@ class Win32Freeze(Command, WixMixIn):
|
|||||||
help='Keep human readable site.py')
|
help='Keep human readable site.py')
|
||||||
parser.add_option('--verbose', default=0, action="count",
|
parser.add_option('--verbose', default=0, action="count",
|
||||||
help="Be more verbose")
|
help="Be more verbose")
|
||||||
|
parser.add_option('--no-installer', default=False, action='store_true',
|
||||||
|
help='Dont build the installer')
|
||||||
if not parser.has_option('--dont-strip'):
|
if not parser.has_option('--dont-strip'):
|
||||||
parser.add_option('-x', '--dont-strip', default=False,
|
parser.add_option('-x', '--dont-strip', default=False,
|
||||||
action='store_true', help='Dont strip the generated binaries (no-op on windows)')
|
action='store_true', help='Dont strip the generated binaries (no-op on windows)')
|
||||||
@ -89,11 +91,13 @@ class Win32Freeze(Command, WixMixIn):
|
|||||||
self.install_site_py()
|
self.install_site_py()
|
||||||
self.archive_lib_dir()
|
self.archive_lib_dir()
|
||||||
self.copy_crt()
|
self.copy_crt()
|
||||||
# self.create_installer()
|
if opts.no_installer:
|
||||||
|
return
|
||||||
|
self.create_installer()
|
||||||
if not is64bit:
|
if not is64bit:
|
||||||
self.build_portable()
|
self.build_portable()
|
||||||
self.build_portable_installer()
|
self.build_portable_installer()
|
||||||
# self.sign_installers()
|
self.sign_installers()
|
||||||
|
|
||||||
def initbase(self):
|
def initbase(self):
|
||||||
if self.e(self.base):
|
if self.e(self.base):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user