编译python程序_python 将python程序编译成可执行文件

C:\pyinstaller-2.0>python pyinstaller.py -F -w--icon=E:\images\96.ico MonitorWin32Process.py

38 INFO: wrote C:\pyinstaller-2.0\MonitorWin32Process\MonitorWin32Process.spec

60 INFO: Testing for ability to set icons, version resources...

75 INFO: ... resource update available

78 INFO: UPX is not available.

1154 INFO: checking Analysis

1156 INFO: building Analysis because out00-Analysis.toc non existent

1157 INFO: running Analysis out00-Analysis.toc

1159 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable

1253 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21

022.8_none ...

1255 INFO: Found manifest C:\Windows\WinSxS\Manifests\x86_microsoft.vc90.crt_1fc

8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91.manifest

1258 INFO: Searching for file msvcr90.dll

1259 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_

9.0.21022.8_none_bcb86ed6ac711f91\msvcr90.dll

1259 INFO: Searching for file msvcp90.dll

1261 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_

9.0.21022.8_none_bcb86ed6ac711f91\msvcp90.dll

1262 INFO: Searching for file msvcm90.dll

1264 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_

9.0.21022.8_none_bcb86ed6ac711f91\msvcm90.dll

1365 INFO: Analyzing C:\pyinstaller-2.0\support\_pyi_bootstrap.py

2440 INFO: Analyzing C:\pyinstaller-2.0\PyInstaller\loader\archive.py

2552 INFO: Analyzing C:\pyinstaller-2.0\PyInstaller\loader\carchive.py

2674 INFO: Analyzing C:\pyinstaller-2.0\PyInstaller\loader\iu.py

2705 INFO: Analyzing MonitorWin32Process.py

2779 WARNING: pywintypes is changing its name to pywintypes27

2871 WARNING: pythoncom is changing its name to pythoncom27

3535 INFO: Hidden import 'encodings' has been found otherwise

3536 INFO: Looking for run-time hooks

3537 INFO: Analyzing rthook C:\pyinstaller-2.0\support/rthooks/pyi_rth_encodings

.py

3621 INFO: Analyzing rthook C:\pyinstaller-2.0\support/rthooks/pyi_rth_versioned

dll.py

3723 INFO: Analyzing rthook C:\pyinstaller-2.0\support/rthooks/pyi_rth_win32comg

enpy.py

3833 INFO: Analyzing rthook C:\pyinstaller-2.0\support/rthooks/pyi_rth_versioned

dll.py

4118 INFO: Adding Microsoft.VC90.MFC to dependent assemblies of final executable

4192 INFO: Searching for assembly x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.21

022.8_none ...

4193 INFO: Found manifest C:\Python27\lib\site-packages\Pythonwin\Microsoft.VC90

.MFC.manifest

4195 INFO: Searching for file mfc90.dll

4196 INFO: Found file C:\Python27\lib\site-packages\Pythonwin\mfc90.dll

4197 INFO: Searching for file mfc90u.dll

4197 INFO: Found file C:\Python27\lib\site-packages\Pythonwin\mfc90u.dll

4199 INFO: Searching for file mfcm90.dll

4200 INFO: Found file C:\Python27\lib\site-packages\Pythonwin\mfcm90.dll

4200 INFO: Searching for file mfcm90u.dll

4202 INFO: Found file C:\Python27\lib\site-packages\Pythonwin\mfcm90u.dll

4856 INFO: Warnings written to C:\pyinstaller-2.0\MonitorWin32Process\build\pyi.

win32\MonitorWin32Process\warnMonitorWin32Process.txt

4866 INFO: checking PYZ

4867 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing

4868 INFO: building PYZ out00-PYZ.toc

6252 INFO: checking PKG

6253 INFO: rebuilding out00-PKG.toc because out00-PKG.pkg is missing

6253 INFO: building PKG out00-PKG.pkg

8202 INFO: checking EXE

8203 INFO: rebuilding out00-EXE.toc because MonitorWin32Process.exe missing

8205 INFO: building EXE from out00-EXE.toc

8212 INFO: SRCPATH [('E:\\images\\96.ico', None)]

8231 INFO: Updating icons from ['E:\\images\\96.ico'] to c:\users\bo\appdata\loc

al\temp\tmp827iux

8232 INFO: Writing RT_GROUP_ICON 0 resource with 76 bytes

8233 INFO: Writing RT_ICON 1 resource with 872 bytes

8233 INFO: Writing RT_ICON 2 resource with 3240 bytes

8235 INFO: Writing RT_ICON 3 resource with 7336 bytes

8236 INFO: Writing RT_ICON 4 resource with 12840 bytes

8236 INFO: Writing RT_ICON 5 resource with 28840 bytes

8266 INFO: Appending archive to EXE C:\pyinstaller-2.0\MonitorWin32Process\dist\

MonitorWin32Process.exe

C:\pyinstaller-2.0>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值