[Pythonmac-SIG] Latest Py2app bug..

hari jayaram harijay at gmail.com
Fri Oct 9 02:31:44 CEST 2009


Hi Chris , Ned and everyone else

I looked at all my app bundles created with py2app .
Inside App/Contents/MacOS
The python is a link to the system python .
( for eg see below for the wxpython app I am trying to build)

So I guess the question is why is that happening with my setup.py and
py2app 0.4.2

Hari




harijaymac:MacOS hari$ ls -altrh
total 208
drwxr-xr-x  7 hari  harijay   238B Oct  8 16:20 ..
lrwxr-xr-x  1 hari  harijay    92B Oct  8 16:20 python ->
/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
-rwxr-xr-x  1 hari  harijay    98K Oct  8 16:20 GridZilla
drwxr-xr-x  4 hari  harijay   136B Oct  8 16:20 .
harijaymac:MacOS hari$ cd

On Thu, Oct 8, 2009 at 5:53 PM, Christopher Barker
<Chris.Barker at noaa.gov> wrote:
> hari jayaram wrote:
>>
>> My printto100.app ( hello world app) does output the numbers to
>> console, so it works fine
>
> what is in:
>
> printo100.app/Contents/MacOS/
>
> is should have:
>
> $ ls -l printo100.app/Contents/MacOS/
> total 264
> -rwxr-xr-x   1 cbarker  cbarker  100276 Oct  8 12:38 printo100
> -rwxr-xr-x   1 cbarker  cbarker   30028 Oct  8 12:38 python
>
> In your broken app before, "python" was a link to a system python, rather
> that a file -- I think that may be your problem. It may not manifest itself
> in the simple case, as there isn't as much to find, and the system stuff is
> there, if it's looking there.
>
> Sorry for such slow debugging -- I've never dug into the py2app code, only
> used it!
>
> -Chris
>
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> Chris.Barker at noaa.gov
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>


More information about the Pythonmac-SIG mailing list