An pull request was merged to pyinstaller hook for clr (pythonnet):
https://github.com/pyinstaller/pyinstaller/pull/2048/files
The proper way to use this clr hook is to specify --hidden-import=clr from
command-line or hiddenimports=['clr'] in spec file.
This should take care of finding Python.Run
Just add path to Python.Runtime.dll in your spec file using "datas" option.
I guess pyinstaller only adds clr.pyd.
On Tuesday, March 15, 2016, Nikhil Garg wrote:
> Hi All,
>
> I tried to build a very simple executable using pyinstaller, where my
> script just imported clr module. I managed to bu