build_release: Remove patch_windows
Looks like this works fine with PyInstaller 3.4
This commit is contained in:
parent
7a8110c83e
commit
7763287b10
@ -209,15 +209,6 @@ def build_mac():
|
|||||||
return [(dmg_name, 'application/x-apple-diskimage', 'macOS .dmg')]
|
return [(dmg_name, 'application/x-apple-diskimage', 'macOS .dmg')]
|
||||||
|
|
||||||
|
|
||||||
def patch_windows(out_dir):
|
|
||||||
"""Copy missing DLLs for windows into the given output."""
|
|
||||||
dll_dir = os.path.join('.tox', 'pyinstaller', 'lib', 'site-packages',
|
|
||||||
'PyQt5', 'Qt', 'bin')
|
|
||||||
dlls = ['libEGL.dll', 'libGLESv2.dll', 'libeay32.dll', 'ssleay32.dll']
|
|
||||||
for dll in dlls:
|
|
||||||
shutil.copy(os.path.join(dll_dir, dll), out_dir)
|
|
||||||
|
|
||||||
|
|
||||||
def build_windows():
|
def build_windows():
|
||||||
"""Build windows executables/setups."""
|
"""Build windows executables/setups."""
|
||||||
utils.print_title("Updating 3rdparty content")
|
utils.print_title("Updating 3rdparty content")
|
||||||
@ -252,7 +243,6 @@ def build_windows():
|
|||||||
_maybe_remove(out_64)
|
_maybe_remove(out_64)
|
||||||
call_tox('pyinstaller', '-r', python=python_x64)
|
call_tox('pyinstaller', '-r', python=python_x64)
|
||||||
shutil.move(out_pyinstaller, out_64)
|
shutil.move(out_pyinstaller, out_64)
|
||||||
patch_windows(out_64)
|
|
||||||
|
|
||||||
utils.print_title("Running 64bit smoke test")
|
utils.print_title("Running 64bit smoke test")
|
||||||
smoke_test(os.path.join(out_64, 'qutebrowser.exe'))
|
smoke_test(os.path.join(out_64, 'qutebrowser.exe'))
|
||||||
|
Loading…
Reference in New Issue
Block a user