install: pip install pyinstaller
for: Python version 3.6-3.10
use1: 调试模式,带cmd, 且是很多文件放在一个文件夹: pyinstaller yourprogram.py
use2: 正式输出模式,不带cmd, 修改py后缀为pyw,然后执行pyinstaller -F xx.pyw,还有可能把多个文件合为一个exe文件
install: pip install py2exe
for: Python 3.6~3.10
use:
Create your setup script: python setup.py install
Run your setup script: python setup.py py2exe
https://cx-freeze.readthedocs.io/en/latest/
install: pip install --upgrade cx_Freeze
for: Python 3.6~3.10
use:
for exe: python setup.py build
for msi: python setup.py bdist_msi