Skip to content

Commit

Permalink
workaround pyinstaller bundling issue with setuptools v70
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisCris committed Jan 1, 2025
1 parent d3a5a32 commit c30b093
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_executable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ pip install pyinstaller

Remove-Item ".\dist" -Recurse -Force

pyinstaller --onefile -i "./icon.ico" --add-data="src/palworld_pal_editor/assets;assets" --add-data="src/palworld_pal_editor/webui;webui" .\src\palworld_pal_editor\__main__.py --name palworld-pal-editor --log-level=INFO
pyinstaller --onefile -i "./icon.ico" --add-data="src/palworld_pal_editor/assets;assets" --add-data="src/palworld_pal_editor/webui;webui" .\src\palworld_pal_editor\__main__.py --name palworld-pal-editor --log-level=INFO --hidden-import="pkg_resources.extern"
2 changes: 1 addition & 1 deletion build_executable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ pip install pyinstaller

rm -r ./dist

pyinstaller --onefile -i "./icon.ico" --add-data="src/palworld_pal_editor/assets:assets" --add-data="src/palworld_pal_editor/webui:webui" ./src/palworld_pal_editor/__main__.py --name palworld-pal-editor
pyinstaller --onefile -i "./icon.ico" --add-data="src/palworld_pal_editor/assets:assets" --add-data="src/palworld_pal_editor/webui:webui" ./src/palworld_pal_editor/__main__.py --name palworld-pal-editor --hidden-import="pkg_resources.extern"

0 comments on commit c30b093

Please sign in to comment.