Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions scripts/pyinstaller/dleapp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ a = Analysis(['..\\..\\dleapp.py'],
binaries=[],
datas=[('..\\', '.\\scripts')],
hiddenimports=[
# Stdlib that only artifacts import. Artifacts are bundled as data
# files and imported from disk at runtime, so PyInstaller's
# import-graph analysis never sees these, and it prunes stdlib it
# cannot see used (mailbox below is the same case, added earlier).
'base64',
'email.utils',
'plistlib',
'struct',
'xml.etree.ElementTree',
'bencoding',
'fitz',
'ijson',
Expand Down
9 changes: 9 additions & 0 deletions scripts/pyinstaller/dleappGUI.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ a = Analysis(['..\\..\\dleappGUI.py'],
binaries=[],
datas=[('..\\', '.\\scripts'), ('..\\..\\assets', '.\\assets')],
hiddenimports=[
# Stdlib that only artifacts import. Artifacts are bundled as data
# files and imported from disk at runtime, so PyInstaller's
# import-graph analysis never sees these, and it prunes stdlib it
# cannot see used (mailbox below is the same case, added earlier).
'base64',
'email.utils',
'plistlib',
'struct',
'xml.etree.ElementTree',
'bencoding',
'fitz',
'ijson',
Expand Down
9 changes: 9 additions & 0 deletions scripts/pyinstaller/dleappGUI_macOS.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ a = Analysis(
binaries=[],
datas=[('../', 'scripts'), ('../../assets', 'assets')],
hiddenimports=[
# Stdlib that only artifacts import. Artifacts are bundled as data
# files and imported from disk at runtime, so PyInstaller's
# import-graph analysis never sees these, and it prunes stdlib it
# cannot see used (mailbox below is the same case, added earlier).
'base64',
'email.utils',
'plistlib',
'struct',
'xml.etree.ElementTree',
'bencoding',
'fitz',
'ijson',
Expand Down
9 changes: 9 additions & 0 deletions scripts/pyinstaller/dleapp_macOS.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ a = Analysis(
binaries=[],
datas=[('../', 'scripts')],
hiddenimports=[
# Stdlib that only artifacts import. Artifacts are bundled as data
# files and imported from disk at runtime, so PyInstaller's
# import-graph analysis never sees these, and it prunes stdlib it
# cannot see used (mailbox below is the same case, added earlier).
'base64',
'email.utils',
'plistlib',
'struct',
'xml.etree.ElementTree',
'bencoding',
'fitz',
'ijson',
Expand Down
Loading