Skip to content

Commit

Permalink
Add missing dependencies for PyInstaller
Browse files Browse the repository at this point in the history
Include dependencies that were not
automatically detected by PyInstaller.
  • Loading branch information
ZEBAS204 authored Dec 16, 2024
1 parent c1e62dd commit 8222400
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions TwitchFarm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ import sysconfig
block_cipher = None

added_files = [
('settings.json', '.')
('settings.json', '.'),
('TwitchChannelPointsMiner/assets/*', 'assets'),
# Dependencies
('venv/Lib/site-packages/irc/*.txt', 'irc'),
('venv/Lib/site-packages/emoji/unicode_codes/*.json', 'emoji/unicode_codes'),
('venv/Lib/site-packages/dateutil/zoneinfo/*.tar.gz', 'dateutil\zoneinfo'),
]

a = Analysis(['TwitchFarm.py'],
pathex=[],
pathex=['venv/Lib'],
binaries=[],
datas=added_files,
hiddenimports=[],
Expand Down

0 comments on commit 8222400

Please sign in to comment.