[Pythonmac-SIG] question

Ed Pataky ed.pataky at gmail.com
Tue Jul 10 01:46:05 CEST 2012


i have a mac where i installed python, and tornado web server .. i used
py2app and created an executable which wraps my tornado kickoff script into
an executable .. works ok sometimes, but i am confused about a couple
things:

1) when i run the app, since it is essentially a command line script with
no GUI, i see nothing, although i is running ... how can i create the  app
so that it opens the terminal and shows the output?

2) sometimes it gets blocked by the firewall and sometimes it does not .. i
have manually gone in and added it to he allowed list in the firewall, then
as soon as it tries to open a port, the firewall blocks it ... i am not
sure how i did it but i got it work a few times, then sometimes it is
blocked .. how can i make sure when i run the app, it has full permission
without having to mess with the firewall setting ... for example, is there
an admin option when making the executable?

3)  Finally, i am not sure what is actually wrapped in the executable,
using basic standard options without specifying libraries to load, etc ..
will the executable have the tornado related libraries already there, or it
will only run on a mac with tornado already installed ... ?  my macs have
tornado so i cannot test this unless i uninstall it ... i guess my question
is, is it smart enough to know to include all the tornado stuff too?

ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120709/19a33248/attachment.html>


More information about the Pythonmac-SIG mailing list