Cxfreeze打包exe
1● 下载cxfreeze
1◆
python -m pip install cx_Freeze --upgrade |
https://sourceforge.net/projects/cx-freeze/files/ |
https://pypi.python.org/pypi?:action=display&name=cx_Freeze&version=5.0.2 |
>pip install cx_Freeze-5.0.2-cp36-cp36m-win_amd64.whl |
python cxfreeze-postinstall |
2◆ 是否成功
Cxfreeze –h or cxfreeze --h |
2● 基本配置
文件 |
找路径 pip install cx_freeze |
c:\program files\python36\lib\site-packages
cxfreeze-postinstall C:\Program Files\Python36\Scripts\cxfreeze-postinstall |
||
cxfreeze.bat |
C:\Program Files\Python36\Scripts\cxfreeze.bat |
|
cxfreeze-postinstall |
C:\Program Files\Python36\Scripts\cxfreeze-postinstall |
|
cxfreeze-quickstart 配置文件 |
C:\Program Files\Python36\Scripts\cxfreeze-quickstart |
@echo off
C:\progra~1\Python36\python.exe C:\progra~1\Python36\Scripts\cxfreeze %* |