cx_freeze and python.net
Hello everybody, I'm trying to build a python.net application using cx-freeze . Once the application is built, I put in my final folder the Python.Runtime.dll. but it stil doesn't seem to work . Actually, when I run the .exe file, nothing is happening. So, I wonder if there were something else to do, another dll to put in the folder, or any option to use with cx_freeze when building the application ? i would be very grateful if you could help me on this matter .. Thanks in advance, Boris
Hello Boris, I’m not worked with cx-freeze, but I use PyInstaller, that contains hook for clr library. This hook been broken in version 2.1, but this bug is simply fixed (see ticket http://www.pyinstaller.org/ticket/878 and patch here http://www.pyinstaller.org/changeset/04eb1cf43a3dfecf8825a4a476e8639c31960a7... ). I'm builded *.exe file with clr and Python.Runtime and if they placed in same directory, all work fine. I think build the one file bundle, that contains all needed libraries and dll’s also possible. Best regards, Renat Zaripov From: PythonDotNet [mailto:pythondotnet-bounces+zaripov=electronxray.com@python.org] On Behalf Of Boris Burdin Sent: Monday, October 20, 2014 1:14 PM To: pythondotnet@python.org; Boris Moi Subject: [Python.NET] cx_freeze and python.net Hello everybody, I'm trying to build a python.net application using cx-freeze . Once the application is built, I put in my final folder the Python.Runtime.dll. but it stil doesn't seem to work . Actually, when I run the .exe file, nothing is happening. So, I wonder if there were something else to do, another dll to put in the folder, or any option to use with cx_freeze when building the application ? i would be very grateful if you could help me on this matter .. Thanks in advance, Boris
Hi all, Both cx_freeze and pyinstaller now come with built-in support for pythonnet (clr) hook in the most recent versions: http://cx-freeze.readthedocs.io/en/latest/releasenotes.html#version-5-0-2-ma... https://github.com/pyinstaller/pyinstaller/issues/1801 Thanks, Denis On Thu, Oct 23, 2014, 9:51 AM <zaripov@electronxray.com> wrote:
Hello Boris,
I’m not worked with cx-freeze, but I use PyInstaller, that contains hook for clr library. This hook been broken in version 2.1, but this bug is simply fixed (see ticket http://www.pyinstaller.org/ticket/878 and patch here http://www.pyinstaller.org/changeset/04eb1cf43a3dfecf8825a4a476e8639c31960a7... ). I'm builded *.exe file with clr and Python.Runtime and if they placed in same directory, all work fine. I think build the one file bundle, that contains all needed libraries and dll’s also possible.
Best regards,
Renat Zaripov
*From:* PythonDotNet [mailto:pythondotnet-bounces+zaripov= electronxray.com@python.org] *On Behalf Of *Boris Burdin *Sent:* Monday, October 20, 2014 1:14 PM *To:* pythondotnet@python.org; Boris Moi *Subject:* [Python.NET] cx_freeze and python.net
Hello everybody,
I'm trying to build a python.net application using cx-freeze .
Once the application is built, I put in my final folder the Python.Runtime.dll.
but it stil doesn't seem to work . Actually, when I run the .exe file, nothing is happening.
So, I wonder if there were something else to do, another dll to put in the folder, or any option to use with cx_freeze when building the application ?
i would be very grateful if you could help me on this matter ..
Thanks in advance,
Boris _________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet
participants (3)
-
Boris Burdin
-
Denis Akhiyarov
-
zaripov@electronxray.com