[Pythonmac-SIG] Help, py2app thinks everything is dependant?
Ronald Oussoren
ronaldoussoren at mac.com
Fri Apr 11 08:09:17 CEST 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20080411/723f4a13/attachment.bin
More information about the Pythonmac-SIG
mailing list