[python-win32] Compiling pywin32 with PyOxidizer

Will Deem will at deemonsecurity.com
Tue Feb 2 07:54:38 EST 2021


Good morning Pywin32 mailing list,

 I appear to be running into an issue compiling my program using pyoxidizer with pywin32. It appears there is some reliance on the __file__ attribute, which is breaking as pyoxidizer is loading the modules into memory and there is no __file__ attribute.

 Has anyone created a successful workaround for this issue? If not, is there a means of monkey patching the __file__ attribute for the win32evtlog module so the program can successfully compile?

 My traceback log is attached.

Fair winds and following seas,
Will


-------------- next part --------------
A non-text attachment was scrubbed...
Name: traceback.log
Type: application/octet-stream
Size: 25155 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/python-win32/attachments/20210202/7bd69ed9/attachment-0001.obj>


More information about the python-win32 mailing list