[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] help: how to make a mac osx installer?



It doesn't seem to want to install on the leopard 2.5.1 python - I get
the error:
"You cannot install pygame 1.8.0rc3 on this volume. pygame requires
System Python 2.5 to install."

I expect there is probably a way to make the installer accept either
2.5.1 python, I think the pyglet people may have had to deal with that
(having the installer accept both the leopard python and a user
installed 2.5.1) before?

Another approach would be building the pygame installer with the OS
python on Leopard - I haven't tried that yet.

---

also, I decided to try installing 2.5.1 from python.org, and it
installs fine into that one, however a simple test raises an exception
"ImportError: PyObjC 1.2 or later is required to use pygame on Mac OS
X" on import pygame. Others have said on the list that PyObjC 1.2
won't work on Leopard, but I think PyObjC 2.0 can be built/installed
from source here: http://svn.red-bean.com/pyobjc/trunk. So it seems
manageable to run on a user installed 2.5.1 on leopard, but would need
more work to be streamlined.

So what would other Leopard users want from a pygame install? I think
I'd personally like to use the Leopard python for simplicity in that
it's a fixed target, but I imagine some people would perfer not to
mess with OS components?


On Jan 23, 2008 10:24 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
>
> Can you please try this (UNTESTED!!!) file?
>
>  http://rene.f0o.com/~rene/stuff/pygame-1.8.0rc3-py2.5-macosx10.4.mpkg.zip
>
>
>
>
> On Jan 24, 2008 4:57 PM, Brian Fisher <brian@xxxxxxxxxxxxxxxxxxx> wrote:
>
>
> > When running the installer I get this:
> > "You cannot install pygame 1.8.0rc3 on this volume. pygame requires
> > /Applications/Autodesk/maya2008/Maya.app/Contents/Frameworks Python
> > 2.5 to install."
> >
> > The maya part of things is rather unexpected. Also is this supposed to
> > work on the leopard system python? How did you install the python you
> > built the installer with?
> >
> >
> >
> >
> > On Jan 23, 2008 7:52 PM, René Dudfield < renesd@xxxxxxxxx> wrote:
> > >
> > > I forgot to install bdist_mpkg before running setup.py bdist_mpkg
> > >
> > > Install this:
> > > http://pypi.python.org/pypi/bdist_mpkg/
> > >
> > > Then run python setup.py bdist_mpkg
> > >
> > > Here is the resulting (UNTESTED!!!) file:
> > >
> http://rene.f0o.com/~rene/stuff/pygame-1.8.0rc3-py2.5-macosx10.4.mpkg.zip
> > >
> > >
> > > cheers,
> > >
> > >
> > >
> > >
> > >
> > > On Jan 24, 2008 1:09 PM, Noah Kantrowitz < kantrn@xxxxxxx> wrote:
> > > >
> > > >
> > > >
> > > > René Dudfield wrote:
> > > > > hello,
> > > > >
> > > > > does anyone know how to make a mac osx installer for pygame?
> > > > >
> > > > > How do you do it?
> > > > >
> > > > >
> > > > Macports should let me do it. I'll poke in the AM.
> > > >
> > > > --Noah
> > > >
> > > >
> > >
> > >
> >
>
>