python-distribute

pyinstaller

doc

pip install pyinstaller
pyinstaller yourprogram.py
Pyinstaller.exe –F -i path/youricon.ico path/yourscript.py
-i 参数指定exe图标,-F参数将脚本打包成单一的exe文件
-n 为生成的exe起个名字

需要 upx 在目录下面,就能生成一个独立的 exe 了
Pyinstaller.exe –F path/yourscript.py

nuitka

website