Ramblings‎ > ‎

Python Windows Deployment

posted Jan 1, 2015, 2:21 PM by Joe Bieber   [ updated Jan 1, 2015, 2:21 PM ]
Converting Python code to a Windows executable is fun.
>>> fun = "Not fun!"
>>> if fun:
>>>    print(fun)
>>> Not fun!

Since I'm using Python 3 and PyQt5, the best tool to use, Pyinstaller, doesn't work yet and Py2exe still only supports Python 2. So, let's try cx-freeze  . I was able to get it to work great from my laptop, but it totally failed when trying to freeze the same program on another computer. Ugh! I'll figure that one out later.