Using python 2.3 and py2exe 0.4.2, a standalone EXE builds and works
fine, but the COM server fails the --register command line with 'Cannot
locate Python module win32com.server.localserver' while executing
UseCommandLine()
I am new to this too, but I tried using py2exe for packaging a COM server, and used a setup.py something like:
import mymoduleand running this script I got comple of dll, pyd files and some exe file. I ignored the exe, registered the mymodule.dll using regsvr32 and was able to access it using COM clients.
opts = {
"py2exe": {
"includes": "encodings,encodings.*"
}
}
setup(com_server=["mymodule"], options=opts
--
Amit Upadhyay
Blog: http://www.rootshell.be/~upadhyay
+91-9820-859-701
_______________________________________________ Python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32
