Re: [Pythonmac-SIG] Problems with py2app for i386

2006-11-08 Thread Chris Van Bael
On 10/30/06, Bob Ippolito <[EMAIL PROTECTED]> wrote:
> On 10/29/06, Chris Van Bael <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm building an application on a PPC Mini in Python with PyGame.
> > When I run "python setup.py py2app" I get a .app file made that runs
> > on my (and other) PPC Macs.  But it fails on Intel Macs.
> > I presume these last lines I get have something to do with it:
> > "
> > /usr/bin/strip: for architecture i386 object:
> > /Users/chrisvanbael/Childsplay/Sources/childsplay-0.84.1/dist/childsplay.app/Contents/MacOS/childsplay
> > malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD
> > command 10 can't byte swap it)
> > /usr/bin/strip: for architecture i386 object:
> > /Users/chrisvanbael/Childsplay/Sources/childsplay-0.84.1/dist/childsplay.app/Contents/MacOS/python
> > malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD
> > command 13 can't byte swap it)
> > stripping saved 11991384 bytes (12298552 / 24289936)
> > "
> >
> > Any ideas where my problem is; is it in my code or a problem of py2app
> > or the strip application?
> > Do I need to use the no-strip option or prefer-ppc for a universal binary?
>
> It looks like you probably didn't install py2app properly. Perform a
> full uninstallation and follow the installation instructions in the
> documentation.
>
> http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html#installation
>

Hi all,

I uninstalled py2app as described on that webpage.
Went through my HD with Finder and Spotlight and removed everything
that mentioned py2app.

Reinstalled py2app via easy_install.

End result: same problem!

Also tried the --no-strip and --prefer-ppc options, but they didn't help.
Any ideas?
___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] Getting an ugly icon?

2006-11-08 Thread Chris Van Bael
Hi,

Whatever I try, I always get a very ugly icon in my Python program.

What I do:
Open Icon Composer, click on the 128x128 field and open an 180x180 icon.
Let it rescale it and save it as an icns file.
In Preview this icns file looks great.
When I make an app with py2app it's included "--iconfile childsplay.py"
However when I startup my program, it has a very ugly icon file.
In the .app I see that the icns file is included.

I once made the app with an ugly windows icon file, but I remove
everything before I run py2app, so that would seem strange.
And _some_ file is included, but it is really my icon, but very fugly!

Thanks for any help.

Chris
___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] Getting an ugly icon?

2006-11-08 Thread Ronald Oussoren
 
On Wednesday, November 08, 2006, at 09:09AM, "Chris Van Bael" <[EMAIL 
PROTECTED]> wrote:
>Hi,
>
>Whatever I try, I always get a very ugly icon in my Python program.
>
>What I do:
>Open Icon Composer, click on the 128x128 field and open an 180x180 icon.
>Let it rescale it and save it as an icns file.
>In Preview this icns file looks great.
>When I make an app with py2app it's included "--iconfile childsplay.py"
>However when I startup my program, it has a very ugly icon file.
>In the .app I see that the icns file is included.
>
>I once made the app with an ugly windows icon file, but I remove
>everything before I run py2app, so that would seem strange.
>And _some_ file is included, but it is really my icon, but very fugly!

I have fixed an icon-related issue a while back and don't know if there has 
been a release since then. Could you try the development version of py2app 
(easy_install py2app==dev)?

Ronald
___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] Getting an ugly icon?

2006-11-08 Thread Chris Van Bael
Thanks!
I'll try that, I'm on 3.5 btw.

On 11/8/06, Ronald Oussoren <[EMAIL PROTECTED]> wrote:
>
> On Wednesday, November 08, 2006, at 09:09AM, "Chris Van Bael" <[EMAIL 
> PROTECTED]> wrote:
> >Hi,
> >
> >Whatever I try, I always get a very ugly icon in my Python program.
> >
> >What I do:
> >Open Icon Composer, click on the 128x128 field and open an 180x180 icon.
> >Let it rescale it and save it as an icns file.
> >In Preview this icns file looks great.
> >When I make an app with py2app it's included "--iconfile childsplay.py"
> >However when I startup my program, it has a very ugly icon file.
> >In the .app I see that the icns file is included.
> >
> >I once made the app with an ugly windows icon file, but I remove
> >everything before I run py2app, so that would seem strange.
> >And _some_ file is included, but it is really my icon, but very fugly!
>
> I have fixed an icon-related issue a while back and don't know if there has 
> been a release since then. Could you try the development version of py2app 
> (easy_install py2app==dev)?
>
> Ronald
>
___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig