开发者

py2exe and win32com

Can py2开发者_开发技巧exe create standalone executables even ones requiring the win32com package?

I've googled / searched SO to no avail.


I've used py2exe for a project that depended on win32com as well as pysvn. It worked fine, no hassles.

That was using Python 2.5 and later 2.6. Note that py2exe doesn't support Python 3.x.


Yes, it can. But you may need to add a refereneces to DLL that your application needs. Check the bottom of http://www.py2exe.org/index.cgi/WorkingWithVariousPackagesAndModules . It contains useful resources to build Python apps that uses win32com.

Also if you use typelibs, check that the version is the same on all Windows versions you want to deploy. Otherwise, your app may fail

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜