Skip to content

Add compilation of Python 3 code into .exe files, using cx_Freeze or similar #7548

Description

@vsfeedback

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions