top | item 46113760

HN: Want to ship a native-like launcher for your Python app? Meet PyAppExec

3 points| hyperfield | 3 months ago |github.com

1 comment

order

hyperfield|3 months ago

PyAppExec is a lightweight cross-platform bootstrapper/launcher for distributing Python desktop applications without freezing them into large binaries with PyInstaller / Nuitka / cx_Freeze.

Instead of bundling Python and all dependencies into a single executable, PyAppExec automatically sets up a virtual environment on first launch, installs dependencies (and optional third-party tools like ffmpeg), and then runs the entry script directly. This avoids antivirus false positives and results in much smaller downloads.

It includes both an installer and a bootstrapper (CLI and GUI variants). Currently Windows-only binaries are available; macOS and Linux builds are in progress.

Use cases include distributing Python tools to non-technical end users, apps that need external binaries, and workflows where update size matters.

GitHub: https://github.com/hyperfield/pyappexec

Demo GIF: https://github.com/hyperfield/pyappexec/blob/v0.4.0/resource... Would appreciate feedback and real-world use-case thoughts.