Tim Roberts wrote:
Gertjan Klein wrote:
I am working on a Windows Explorer context menu handler; Windows 10,
Python 3.4 (both 64 bit), pywin32 version 219 installed (no virtual
environment).
The handler is working fine when running it as a Python source file.
However, I would like to create an executable containing all the
dependencies, so it can be run on PCs that don't have Python installed.
I can't get this to work. I have tried using py2exe and pyinstaller,
with various setup.py and spec file examples, and nothing seems to work.
Are you testing this on a 64-bit system? Remember that your 64-bit
process will only work on 64-bit systems.
Yes, Windows and Python are both 64 bit. Note that the handler works
fine as a python file, just not as an executable.
What actually happens when you try to run it?
I guess I should have been more specific there... ;-) I have py2exe or
pyinstaller create an executable; this registers itself without any
error messages, and registry entries do appear in the registry. However,
no context menu item appears, and nothing I tried showed any evidence of
my code being run.
I don't know nearly enough of Windows programming to have even an idea
of what could be wrong, or debug further.
Regards,
Gertjan.
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32