Build PDFReaderLite V2 executable
This commit is contained in:
Vendored
BIN
Binary file not shown.
@@ -14,10 +14,37 @@ a = Analysis(
|
|||||||
hookspath=[],
|
hookspath=[],
|
||||||
hooksconfig={},
|
hooksconfig={},
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[],
|
excludes=[
|
||||||
|
"PIL",
|
||||||
|
"Pillow",
|
||||||
|
"tkinter",
|
||||||
|
"numpy",
|
||||||
|
"PySide6.QtNetwork",
|
||||||
|
"PySide6.QtOpenGL",
|
||||||
|
"PySide6.QtPdf",
|
||||||
|
"PySide6.QtQml",
|
||||||
|
"PySide6.QtQuick",
|
||||||
|
"PySide6.QtVirtualKeyboard",
|
||||||
|
],
|
||||||
noarchive=False,
|
noarchive=False,
|
||||||
optimize=0,
|
optimize=0,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
excluded_binaries = {
|
||||||
|
"opengl32sw.dll",
|
||||||
|
"qt6network.dll",
|
||||||
|
"qt6opengl.dll",
|
||||||
|
"qt6pdf.dll",
|
||||||
|
"qt6qml.dll",
|
||||||
|
"qt6qmlmodels.dll",
|
||||||
|
"qt6quick.dll",
|
||||||
|
"qt6virtualkeyboard.dll",
|
||||||
|
}
|
||||||
|
a.binaries = [
|
||||||
|
item for item in a.binaries
|
||||||
|
if Path(str(item[0])).name.lower() not in excluded_binaries
|
||||||
|
]
|
||||||
|
|
||||||
pyz = PYZ(a.pure)
|
pyz = PYZ(a.pure)
|
||||||
|
|
||||||
exe = EXE(
|
exe = EXE(
|
||||||
|
|||||||
Reference in New Issue
Block a user