
However, due to an apparent quirk in PyInstaller, it seems that the -u flag never makes its way up to the interpreter, and thus the output is still highly buffered. Normally, passing the -u flag to the Python interpreter would be enough to prevent stdout buffering. In short, this means that rather than Gooey being able to read the output of your program in real time, it receives it in very coarsely grained chunks. Step 1: Preparing your script for packaging.īy default, the python interpreter buffers stdout. If you don't already have it, download the latest PyInstaller version and install it via setuptools. We're going to focus on PyInstaller as it's my preferred wrapper due to its ability to make end user friendly single file executables on Windows, OSX, and Linux.

Packaging Gooey as a Distributable ApplicationĮdit: : Gooey's packaging story has advanced! You can find up to date cross-platform guides in the official Gooey docs!įor packaging, Gooey supports two options: CxFreeze, and PyInstaller.
