Skip to content

Commit

Permalink
Fix dateutils.zoneinfo not working in executable build
Browse files Browse the repository at this point in the history
Archive with timezones information is located in dateutil/zoneinfo/dateutil-zoneinfo.tar.gz, alongside __init__.py, and it doesn't get packaged automatically.
  • Loading branch information
user committed Dec 10, 2024
1 parent f6f0d06 commit 5934047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Uninstall aiodns, installed by slixmpp
run: python -m pip uninstall aiodns --yes
- name: Build executable as a single file
run: pyinstaller avtdl.py --icon NONE --collect-all avtdl --onefile --collect-submodules slixmpp.features
run: pyinstaller avtdl.py --icon NONE --collect-all avtdl --onefile --collect-submodules slixmpp.features --collect-all dateutil.zoneinfo
- name: Build executable as a folder
run: pyinstaller avtdl.py --icon NONE --collect-all avtdl
- name: Compress the folder
Expand Down

0 comments on commit 5934047

Please sign in to comment.