On 11 Apr, 2008, at 1:22, Ian Bloom wrote:
I have a program that I've been writing using Xcode,
pyObjc and py2app. Up until this point I've been using
the standard python on Mac OSX Tiger which is 2.3,
it's been doing fine for me. I needed to use the
subprocess module, so I installed
2.4 and changed the lead line in my setup.py file to
read:
#!/usr/local/bin/python2.4

Now the application being created runs properly, but
py2app is copying the entire python installation,
documentation and all into the application bundle,
making it about 28MB instead of the usual 2.

Any idea why it's doing this?

That's by design. Py2app creates a standalone application bundle that you can copy to other machines to run without further setup. When you used Python 2.3 the application bundle referenced the system install of Python, which is present on all machines. When using Python2.4 py2app must copy the framework into your application to ensure that the bundle is really standalone.

Ronald

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to