7

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.

nbro
  • 15,395
  • 32
  • 113
  • 196
user1155844
  • 581
  • 1
  • 5
  • 10
  • 1
    Give pyinstaller a try: http://www.pyinstaller.org/ It generally much more pain-free than py2exe or py2app, in my experience. I'm not sure if it works with python3 yet, though. – Joe Kington Jan 20 '12 at 06:15
  • possible duplicate of [How to bundle a python application including dependencies for windows?](http://stackoverflow.com/questions/106725/how-to-bundle-a-python-application-including-dependencies-for-windows) – nbro May 19 '15 at 02:22
  • http://stackoverflow.com/questions/2933/how-can-i-create-a-directly-executable-cross-platform-gui-app-using-python – nbro May 19 '15 at 02:23

1 Answers1

2

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.

jgritty
  • 11,660
  • 3
  • 38
  • 60
  • Of all these only cx_freeze seems to support Python 3. Really sad, because cx_freeze wasn't user-friendly at all the last time I tried to use it. – Oleh Prypin Jan 21 '12 at 00:08
  • Thank you for this , I decided to use cx_freeze ... I mean the thing is so easy that if you drag and drop your .py file into the cx_freeze.bat file it will freeze it for you without any settings but still . I love it – user1155844 Jan 23 '12 at 02:17
  • Could you please provide a concrete example of use of each of the modules you are suggesting? It easy to say there's this there's that, but an concrete example would help more for future visitors... – nbro May 19 '15 at 02:01
  • RTFM. All these projects have documentation and tutorials, stackoverflow is not really the place to rehash those. – jgritty May 19 '15 at 04:31