pyobjc-dev

Hi,
Okay so I did as you suggested /usr/local/bin/python2.3 setup.py py2app
and after it builds when I open the application I get 'MacPython 2.3 is
required to run this application'.
if I type /usr/bin/python2.3 setup.py py2app (i.e. I use Apples python)
it will build and open without the error. But I will be adding modules
that require 2.3.5 and so I'd really like to fix this now instead of
when I add those modules.
Here's my setup.py
from distutils.core import setup
import py2app
setup(
app=['Controller.py']
data_files=['English.proj', 'bundle'],
)
# English.proj contains MainMenu.nib
# bundle contains a few scripts Controller.py import
Thanks for your help
Paul Volpato
Begin forwarded message:
> From: Michael Hudson <mwh@...>
> Date: 14 March 2005 10:27:22 PM
> To: Paul Volpato <paul@...>
> Cc: pyobjc-dev@...
> Subject: Re: [Pyobjc-dev] py2app bundling python
>
> Paul Volpato <paul@...> writes:
>
>> Hi,
>> I'm attempting to create an application that requires Python 2.3.5.
>> So I've been executing
>> 'setup.py py2app' with Python 2.3.5 and it seems it is copying at
>> least some of Python into it, when I try to launch the .app file I get
>> an error "Requires MacPython 2.3" and I have to terminate.
>
> You been executing *exactly* 'setup.py py2app'? I.e. setup.py is
> chmod u+x? For a start, I'd try executing
>
> $ /usr/local/bin/python2.3 setup.py py2app
>
> so I was sure which Python was being executed.
>
> Cheers,
> mwh
>
> --
> Darned confusing, unless you have that magic ingredient coffee, of
> which I can pay you Tuesday for a couple pounds of extra-special
> grind today. -- John Mitchell, 11 Jan 1999
>