Add compilation of Python 3 code into .exe files, using cx_Freeze or similar #7569
vsfeedback
started this conversation in
Enchancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This issue has been moved from a ticket on Developer Community.
I have to integrate Visual Studio build outputs and Python products into a single MSI file. To keep code from being inspected and modified easily and to avoid forcing the user to install Python, I use cx_Freeze to create main executables and package the Python DLLs and the byte-compiled Python packages.
Right now I use a PowerShell script to integrate the VS build outputs, cx_Freeze outputs and the WiX installer script. However, it would be much more elegant if I could add Python projects and have a single solution that builds the final product.
Also, the number of maintainers of cx_Freeze is small, and it chokes on complex packages such as Matplotlib. If VS had the ability (natively or via a plugin) to turn Python projects into all-compiled executables, then it would quickly become the solution of choice for Python developers.
Original Comments
Feedback Bot on 4/6/2022, 02:41 AM:
(private comment, text removed)
Beta Was this translation helpful? Give feedback.
All reactions