So, basically I have a python script which I would like to convert into a Mac Application (.app). The basic structure of the code is this:
while 1:
command_handler(raw_input("> ",))
What I have here is actually a REPL, which takes input from the user and responds accordingly.
I have tried exporting it with py2app, Platypus, Xcode, Build Applet, AppleScript. Most of them throw an error:
EOFError: EOF when reading a line
Xcode doesn't let me export (I used this to set it up accordingly), it doesn't even create an archive.
Build Applet makes an .app, but when I open it, it closes immediately.
The rest of them throw the EOFError
.
What should I do?