From 614ec191a2fb7ed15cee2262035011ec2b910568 Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Tue, 14 Oct 2025 14:20:16 +1000 Subject: Implement Python build script for robust PyInstaller GUI build --- justfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index fe942fc..cef7016 100644 --- a/justfile +++ b/justfile @@ -8,6 +8,5 @@ gui: # Build the picostream GUI executable build-gui: uv pip install pyinstaller pyinstaller-hooks-contrib - FFI_FLAG := `uv run python -c 'import sys, os, glob; ffi_dll_path = next(glob.iglob(os.path.join(os.path.dirname(sys.executable), "DLLs", "libffi-*.dll")), None) if sys.platform == "win32" else None; ffi_dll_path and print(f"--add-binary \"{ffi_dll_path}{os.pathsep}.\"")'` - uv run pyinstaller --onefile --windowed --name PicoStream {{FFI_FLAG}} picostream/main.py + uv run python tools/build_gui.py -- cgit v1.2.3