Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating self-contained python applications

Tags:

I'm trying to create a self-contained version of pisa (html to pdf converter, latest version), but I can't succeed due to several errors. I've tried py2exe, bb-freeze and cxfreeze.

This has to be in windows, which makes my life a bit harder. I remember that a couple of months ago the author had a zip file containing the install, but now it's gone, leaving me only with the python dependent way.

How would you work this out?

like image 555
changelog Avatar asked Oct 15 '08 02:10

changelog


People also ask

What is self contained Python?

An important concept for us is the notion of self-containment. For a project in development this means you find everything you need to develop and run the software directly in the one repository you check out/clone.

Can you make standalone program with Python?

With BuildApplet you can build a standalone Python application that works like any other Mac application: you can double-click it, run it while the Python interpreter is running other scripts, drop files on it, etc.

Can you make Python executable?

Underneath the GUI is PyInstaller, a terminal based application to create Python executables for Windows, Mac and Linux. Veteran Pythonistas will be familiar with how PyInstaller works, but with auto-py-to-exe any user can easily create a single Python executable for their system.


1 Answers

Check out pyinstaller, it makes standalone executables (as in one .EXE file, and that's it).

like image 126
dwestbrook Avatar answered Sep 16 '22 17:09

dwestbrook