From 4c7868626e79b116f1b070fed2e5180e61413898 Mon Sep 17 00:00:00 2001 From: sharevb Date: Sat, 7 Oct 2023 16:44:21 +0200 Subject: [PATCH] Add GitHub Workflow to generate transferwee.exe --- .github/workflows/windows_exe_release.yml | 27 +++++++++++++++++ transferwee.spec | 36 +++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 .github/workflows/windows_exe_release.yml create mode 100644 transferwee.spec diff --git a/.github/workflows/windows_exe_release.yml b/.github/workflows/windows_exe_release.yml new file mode 100644 index 0000000..d627621 --- /dev/null +++ b/.github/workflows/windows_exe_release.yml @@ -0,0 +1,27 @@ +name: Package transferwee with Pyinstaller + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + buildexe: + name: Build transferwee.exe + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Package transferwee + uses: JackMcKew/pyinstaller-action-windows@main + with: + path: . + + - name: Upload transferwee.exe artifact + uses: actions/upload-artifact@v2 + with: + name: transferwee + path: ./dist/windows \ No newline at end of file diff --git a/transferwee.spec b/transferwee.spec new file mode 100644 index 0000000..73956bf --- /dev/null +++ b/transferwee.spec @@ -0,0 +1,36 @@ +# -*- mode: python ; coding: utf-8 -*- + + +a = Analysis( + ['transferwee.py'], + pathex=[], + binaries=[], + datas=[], + hiddenimports=[], + hookspath=[], + runtime_hooks=[], + excludes=[], + noarchive=False, +) +pyz = PYZ(a.pure) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.datas, + [], + name='transferwee', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, +)