Search code examples
pythoninstallationwxwidgetsexecutablepy2exe

Do I need to bundle the Python interpreter (in py2exe) when I am distributing my app?


I have a small Python app ready that I'd like to distribute around to my friends in the company.

I have used wxWidgets for the GUI, with SQLite for the database.

I'm planning on using py2exe for packaging the entire thing.

I'd like to know if bundling the Python interpreter is required ? Does py2exe does it by default ? My friends wont have Python installed on their systems.

Are there any extra libraries that I should bundle for the GUI ?

I want this to run only on Windows, nothing else.


Solution

  • Last time I did it (which admittedly was some time ago), py2exe bundled everything into the executable.

    This fairly concise document talks about external dependencies, such MSVC runtime DLLs.

    I also suggest taking a look at the following past questions:

    If I were you, I'd give it a shot and come back with specific questions if things don't work as you expect.