I want to create a GUI application which should work on Windows and Mac. For this I've chosen Python.
The problem is on Mac OS X.
There are 2 tools to generate an ".app" for Mac: py2app and pyinstaller.
- py2app is pretty good, but it adds the source code in the package. I don't want to share the code with the final users.
- Pyinstaller generates UNIX executable, so how to run it on Mac? I created a bundles with this executable, but the resulted ".app" is not working.
The questions are:
- How to configure py2app to include the source code in the executable, so the final users will not have access to my program?
- How to convert UNIX executable to Mac ".app" ?
- Is there a way to compile Python code with GCC ?
- In Windows it's easy, I created an "exe" file from Python code and it works. Is it possible to create a single file "app" for Mac ?
P.S. I use two computers (Windows and for Mac), Python 2.7, wxPython, py2exe, py2app and pyinstaller.
Also, I have checked out these sites: