Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to package a program to share with people?

I made a simple program for my friends using some things from the os module and a tkinter library called easygui. The problem is that I don't want all my friends to have to download Python and easygui in order to use the program.

The point is my friends use Mac OS X and Windows, and I need a way to either package my program with the Python interpreter and the modules that I used to make the program, or an exe or app file respectively for Windows and Mac.

like image 895
user1155844 Avatar asked Jan 20 '12 06:01

user1155844


1 Answers

I use py2exe and py2app for that purpose.

What I haven't done is use them for python 3 apps.

An alternative is cx_freeze which has Python 3 support.

And as Joe said above, PyInstaller is another alternative.

like image 185
jgritty Avatar answered Sep 20 '22 15:09

jgritty