Add MSI options
This commit is contained in:
parent
8bbfbb051e
commit
ee02b44117
@ -39,18 +39,30 @@ def get_egl_path():
|
||||
else:
|
||||
raise ValueError("Unknown architecture")
|
||||
|
||||
build_exe_options = {
|
||||
'include_files': [
|
||||
(get_egl_path(), 'libEGL.dll'),
|
||||
('qutebrowser/html', 'html'),
|
||||
],
|
||||
'include_msvcr': True,
|
||||
}
|
||||
|
||||
bdist_msi_options = {
|
||||
# random GUID generated by uuid.uuid4()
|
||||
'upgrade_code': '{a7119e75-4eb7-466c-ae0d-3c0eccb45196}',
|
||||
'add_to_path': False,
|
||||
}
|
||||
|
||||
executable = Executable('qutebrowser/__main__.py', base='Win32GUI',
|
||||
targetName='qutebrowser.exe',
|
||||
shortcutName='qutebrowser',
|
||||
shortcutDir='ProgramMenuFolder')
|
||||
|
||||
setup(
|
||||
executables = [Executable('qutebrowser/__main__.py', base='Win32GUI',
|
||||
targetName='qutebrowser.exe')],
|
||||
executables = [executable],
|
||||
options = {
|
||||
'build_exe': {
|
||||
'include_files': [
|
||||
(get_egl_path(), 'libEGL.dll'),
|
||||
('qutebrowser/html', 'html'),
|
||||
],
|
||||
'include_msvcr': True,
|
||||
}
|
||||
'build_exe': build_exe_options,
|
||||
'bdist_msi': bdist_msi_options,
|
||||
},
|
||||
**setupdata
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user