uv syncuv run python main.pyThis project includes PyInstaller configuration for creating standalone executables.
-
Install dev dependencies:
uv sync --extra dev
-
Build the executable:
uv run pyinstaller pedre-demo.spec
-
The executable will be in
dist/pedre-demo/(ordist/pedre-demo.appon macOS)
To run the macOS app from terminal and see console output:
./dist/pedre-demo.app/Contents/MacOS/pedre-demoFor Linux:
./dist/pedre-demo/pedre-demoFor Windows:
dist\pedre-demo\pedre-demo.exeInstallers are automatically built for Linux, Windows, and macOS when you:
- Push a tag starting with
v(e.g.,v1.0.0) - Manually trigger the workflow from the Actions tab
The workflow will create a GitHub release with the following artifacts:
pedre-demo-Linux.tar.gz- Linux executable bundlepedre-demo-Windows.zip- Windows executable bundlepedre-demo-macOS.tar.gz- macOS executable bundlepedre-demo.app- macOS application bundle