py2exe打包python程序到exe总结


py2exe不支持把zip压缩后的模块(*.egg)包含到目标程序中。
需要easy_install --always-unzip mechanize。使用--always-unzip参数后模块就安装在一个目录下而不是打包成文件。

Archives