Some Windows deployment info...


cx_freeze:

Tried using cx_freeze to create my windows executable. The Google says use cxfreeze.bat in the python\scripts folder. Hmmm, I didn't have that once I installed cx_freeze, wtf. Apparently, the cxfreeze-postinstall did not run and create the batch file. I ran the file using python ( python cxfreeze-postinstall ) and abracadabra, I now have a batch file to run.

I successfully created my python program distribution by typing this command from the command prompt in the scripts folder of my python installation. cxfreeze.bat --base-name=Win32GUI c:\python-program\clipboard.py. cx_freeze put everything I needed to run my program including the created the exe into a "dist" folder in the current script folder from where I launched the script. Because my program uses PyQt5 for its GUI, I added the libEGL.dll from C:\Python34\Lib\site-packages\PyQt5 to the "dist" folder and it works. I copied the dist folder to another computer, that did not have python or PyQt installed and it works there as well. 

My first python GUI program is a revamped version of my clipboard project. You can check it out here. Download the self extracting package.

Created a setup.py script to add an icon and stuff. It works too.

from cx_Freeze import setup, Executable

exe=Executable(
    script='clipboard.py',
    base='Win32Gui',
    icon='clipboard.ico'
)

setup(
    name='clipboard',
    version='1.0',
    packages=[''],
    url='http://www.joebieber.com',
    license='GPL',
    author='Joe Bieber',
    author_email='joe@joebieber.com',
    description='A program to save and recall snippets of text/code.',
    executables = [exe]
)