diff options
| author | Sam Scholten | 2025-10-14 14:20:16 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-14 14:29:53 +1000 |
| commit | 614ec191a2fb7ed15cee2262035011ec2b910568 (patch) | |
| tree | 010b9c5aced17b3c6183650a8f47e54ab37dd69b /justfile | |
| parent | 28db0686a5393704d3b5c13d68dbd654fc3ecbba (diff) | |
| download | picostream-614ec191a2fb7ed15cee2262035011ec2b910568.tar.gz picostream-614ec191a2fb7ed15cee2262035011ec2b910568.zip | |
Implement Python build script for robust PyInstaller GUI build
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |
