Arne Babenhauserheide wrote:
El Wednesday, 14 de May de 2008 19:57:29 Kevin Walzer escribió:
Copying repsonse to the list so others can see the follow-up:

sorry...
Arne Babenhauserheide wrote:
Wouldn't it be possible to just include a binary Mac Python and then copy
the script to the correct location?
No, not really. Python isn't installed in a single location on the Mac,
and standalone app bundles are structured differently anyway.

What I mean is:
MyPythonApp.app/
        Contents/my_python_script.py
        MacOS/python
        info.plist

(or so, I don't remember the exact setup of app bundles right now), To create a new python app, just replace my_python_script.py . Would that work?

Most likely, no. py2app works all kinds of magic in creating an application bundle, including rolling in the Python standard library, whatever GUI tookit you are using, and other scripts, and it runs Mac-specific tools to modify the library search path.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to