views:

216

answers:

2

Can py2exe create standalone executables even ones requiring the win32com package?

I've googled / searched SO to no avail.

+3  A: 

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.

Craig McQueen
+1: marvelous... thanks!
jldupont
+1  A: 

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

masterLoki
+1: thanks for the info.
jldupont