Re: [python-win32] compile context_menu.py into context_menu.exe doesn't work

2009-04-06 Thread Mark Hammond
Context menus are implemented in DLLs, so you need to get py2exe to create a COM DLL for you then run "regsvr32.exe your.dll" to register the extension - see the py2exe docs for more details. Cheers, Mark On 7/04/2009 11:28 AM, Indrajaya :) wrote: Hello, I'm trying to compile example comes

[python-win32] compile context_menu.py into context_menu.exe doesn't work

2009-04-06 Thread Indrajaya :)
Hello, I'm trying to compile example comes from pywin32 in win32comext\shell\demos\servers\context_menu.py with py2exe. My setup.py describes below. import time import sys try: # if this doesn't work, try import modulefinder import py2exe.mf as modulefinder