On 9/12/2011 8:19 AM, Martin Zibricky wrote:
I'm guessing if it also provides the support for windows
services. If so, can anyone point me out an example or some
documentation which explains how to do it?
I think you should look at the pywin32 extension and the COM technology.
http://en.wikipedia.org/wiki/Component_Object_Model
A service is a very different animal than a COM object.
I also found the following snippet:
http://code.activestate.com/recipes/576451-how-to-create-a-windows-service-in-python/
I've successfully used py2exe to freeze Windows services -- it provides
explicit support via the "service" parameter to setup. As a result, I
haven't invested the time to figure out what it would take (if anything)
to make PyInstaller support them (I prefer to use PyInstaller for
"regular" exes, and would switch to it for services if I knew it would
handle them).
For anyone who's motivated, I'd suggest starting out by looking at the
py2exe code that handles "service".
--
Don Dwiggins
Advanced Publishing Technology
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.