Skip to content

Commit

Permalink
new method for include site package
Browse files Browse the repository at this point in the history
  • Loading branch information
H1B0B0 committed Aug 17, 2023
1 parent 8f1a596 commit 8a17b32
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
run: |
pyinstaller --noconfirm --onefile --windowed --icon "D:\\a\\twitch-Viewerbot\\twitch-Viewerbot\\src\\twitchbot\\interface_assets\\R.ico" --name "Twitch ViewerBOT" --clean `
--add-data "${{ steps.get-site-packages-path.outputs.site-packages-path }}/customtkinter;customtkinter\\" `
--add-data "${{ steps.get-site-packages-path.outputs.site-packages-path }}/Crypto;Crypto\\" `
--add-data "${{ steps.get-site-packages-path.outputs.site-packages-path }}/streamlink;streamlink\\" `
--add-data "${{ steps.get-site-packages-path.outputs.site-packages-path }}/fake_useragent;fake_useragent\\" `
--add-data "D:\\a\\twitch-Viewerbot\\twitch-Viewerbot\\src\\twitchbot\\interface_assets;interface_assets\\" `
--add-data "D:\\a\\twitch-Viewerbot\\twitch-Viewerbot\\src\\twitchbot;twitchbot\\" `
--paths "${env:pythonLocation}\\Lib\\site-packages" `
"D:\\a\\twitch-Viewerbot\\twitch-Viewerbot\\src\\twitchbot\\main.py"
- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 8a17b32

Please sign in to comment.