Re: [pygame] Mac OS X 10.5, Leopard Support

2007-12-16 Thread Noah Kantrowitz
Yes, that is what it does actually. The reason for need a new port for
pygame was partially because I just removed the dependency on pyobjc
completely, and let it use the system one.

--Noah

Brian Fisher wrote:
 That sounds like great work, Noah

 I haven't tried to run it myself, but it looks like you've got a ports
 file for PyObjC 1.4 there - the system python on leopard should have
 PyObjC 2.0 built into it (looks like one could get source here:
 http://svn.red-bean.com/pyobjc/tags/r200-leopard ), so I imagine there
 must be some way to get a pygame to run with PyObjC 2.0


 On Dec 12, 2007 9:28 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote:
   
 Attached is a set of macports port files that will allow installing on
 Leopard. The only weird thing you need to do is add the macports
 site-packages folder to the sys.path for the system python 2.5. The
 easiest way to do this is to add
 /Library/Python/2.5/site-packages/macports.pth containing the text
 /opt/local/lib/python2.5/site-packages. After that make sure to enable
 the new ports (/opt/local/etc/macports/sources.conf) and just `port
 install py25-game`. I don't think I did anything else special, but if
 nothing else this should be a running start.

 --Noah


 Nathan wrote:
 
 On Dec 12, 2007 8:39 PM, Brian Fisher [EMAIL PROTECTED] wrote:

   
 I was wondering about all the Leopard support questions recently,
 wouldn't the python 2.4 packages here:
   http://pythonmac.org/packages/py24-fat/index.html
 all work on leopard?

 
 Not in the case of PyObjC.  The PyObjC people very bluntly told me
 that PyObjC isn't for Leopard, period.  I really don't know much more
 than that.

 I'm going to go ahead and take myself off this list.  Thanks for any
 help and hints people have given me over the years.  It appears that
 pygame-on-leopard is not a priority, and I've converted all my active
 projects to use pyglet (which I really like), and I'm having fun
 learning OpenGL as a side-benefit of that switch.  Later!

 ~ Nathan


   
 

   




signature.asc
Description: OpenPGP digital signature


Re: [pygame] Mac OS X 10.5, Leopard Support

2007-12-16 Thread René Dudfield
Is anyone able to update the wiki for Leopard compile instructions?

http://pygame.org/wiki/MacCompile



On Dec 16, 2007 10:37 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote:
 Yes, that is what it does actually. The reason for need a new port for
 pygame was partially because I just removed the dependency on pyobjc
 completely, and let it use the system one.

 --Noah


 Brian Fisher wrote:
  That sounds like great work, Noah
 
  I haven't tried to run it myself, but it looks like you've got a ports
  file for PyObjC 1.4 there - the system python on leopard should have
  PyObjC 2.0 built into it (looks like one could get source here:
  http://svn.red-bean.com/pyobjc/tags/r200-leopard ), so I imagine there
  must be some way to get a pygame to run with PyObjC 2.0
 
 
  On Dec 12, 2007 9:28 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote:
 
  Attached is a set of macports port files that will allow installing on
  Leopard. The only weird thing you need to do is add the macports
  site-packages folder to the sys.path for the system python 2.5. The
  easiest way to do this is to add
  /Library/Python/2.5/site-packages/macports.pth containing the text
  /opt/local/lib/python2.5/site-packages. After that make sure to enable
  the new ports (/opt/local/etc/macports/sources.conf) and just `port
  install py25-game`. I don't think I did anything else special, but if
  nothing else this should be a running start.
 
  --Noah
 
 
  Nathan wrote:
 
  On Dec 12, 2007 8:39 PM, Brian Fisher [EMAIL PROTECTED] wrote:
 
 
  I was wondering about all the Leopard support questions recently,
  wouldn't the python 2.4 packages here:
http://pythonmac.org/packages/py24-fat/index.html
  all work on leopard?
 
 
  Not in the case of PyObjC.  The PyObjC people very bluntly told me
  that PyObjC isn't for Leopard, period.  I really don't know much more
  than that.
 
  I'm going to go ahead and take myself off this list.  Thanks for any
  help and hints people have given me over the years.  It appears that
  pygame-on-leopard is not a priority, and I've converted all my active
  projects to use pyglet (which I really like), and I'm having fun
  learning OpenGL as a side-benefit of that switch.  Later!
 
  ~ Nathan
 
 
 
 
 
 





Re: [pygame] Mac OS X 10.5, Leopard Support

2007-12-15 Thread Brian Fisher
I just upgraded my iMac to Leopard, and deleted my framework build of
python 2.4 so I could test out the packages here:
http://pythonmac.org/packages/py24-fat/index.html

I installed this:
http://pythonmac.org/packages/py24-fat/dmg/python-2.4.4-macosx2006-10-18.dmg

then this:
http://pythonmac.org/packages/py24-fat/dmg/pyobjc-1.4-python2.4-macosx10.4.dmg

then this:
http://pythonmac.org/packages/py24-fat/mpkg/pygame-1.8.0pre-py2.4-macosx10.4.zip

and my pygame projects all work perfectly. The PyObjC installer had no problems.

So as far as I can tell, the framework builds of python are a way that
pygame will install and work just fine on leopard.

...I know it's not the 2.5 system python (which would be perferable),
but Noah's macport fix on this list looks like it would achieve that.


On Dec 12, 2007 9:07 PM, Nathan [EMAIL PROTECTED] wrote:
  wouldn't the python 2.4 packages here:
http://pythonmac.org/packages/py24-fat/index.html
  all work on leopard?

 Not in the case of PyObjC.  The PyObjC people very bluntly told me
 that PyObjC isn't for Leopard, period.  I really don't know much more
 than that.

This sounds like FUD to me - If somebody tried to install PyObjC for
the purposes of running pygame and ran into problems with it, I'm
curious to hear what those specific problems were.


Re: [pygame] Mac OS X 10.5, Leopard Support

2007-12-15 Thread Brian Fisher
On Dec 15, 2007 3:51 PM, Nathan [EMAIL PROTECTED] wrote:
 Sorry, that was supposed to say Not in the case of PyObjC 1.4...
 Try installing it with macports.  You'll get to experience the
 problems yourself.

thanks for clearing up how to repro the problem you experienced
(install through macports)

hmmm...  it sounds like it doesn't _build_ on leopard, as opposed to
not run on leopard (maybe because leopard includes different devel
libraries than tiger?). The problem may even be more with the macports
config than anything about PyObjC 1.4 itself...?

As I said before, a prebuilt PyObjC 1.4 worked perfectly fine for me
on Leopard, and I expect it would for anyone using the matching python
install (in this case a framework build of 2.4)


Re: [pygame] Mac OS X 10.5, Leopard Support

2007-12-15 Thread Brian Fisher
That sounds like great work, Noah

I haven't tried to run it myself, but it looks like you've got a ports
file for PyObjC 1.4 there - the system python on leopard should have
PyObjC 2.0 built into it (looks like one could get source here:
http://svn.red-bean.com/pyobjc/tags/r200-leopard ), so I imagine there
must be some way to get a pygame to run with PyObjC 2.0


On Dec 12, 2007 9:28 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote:
 Attached is a set of macports port files that will allow installing on
 Leopard. The only weird thing you need to do is add the macports
 site-packages folder to the sys.path for the system python 2.5. The
 easiest way to do this is to add
 /Library/Python/2.5/site-packages/macports.pth containing the text
 /opt/local/lib/python2.5/site-packages. After that make sure to enable
 the new ports (/opt/local/etc/macports/sources.conf) and just `port
 install py25-game`. I don't think I did anything else special, but if
 nothing else this should be a running start.

 --Noah


 Nathan wrote:
  On Dec 12, 2007 8:39 PM, Brian Fisher [EMAIL PROTECTED] wrote:
 
  I was wondering about all the Leopard support questions recently,
  wouldn't the python 2.4 packages here:
http://pythonmac.org/packages/py24-fat/index.html
  all work on leopard?
 
 
  Not in the case of PyObjC.  The PyObjC people very bluntly told me
  that PyObjC isn't for Leopard, period.  I really don't know much more
  than that.
 
  I'm going to go ahead and take myself off this list.  Thanks for any
  help and hints people have given me over the years.  It appears that
  pygame-on-leopard is not a priority, and I've converted all my active
  projects to use pyglet (which I really like), and I'm having fun
  learning OpenGL as a side-benefit of that switch.  Later!
 
  ~ Nathan
 
 




Re: [pygame] Mac OS X 10.5, Leopard Support

2007-12-12 Thread Brian Fisher
I was wondering about all the Leopard support questions recently,
wouldn't the python 2.4 packages here:
  http://pythonmac.org/packages/py24-fat/index.html
all work on leopard?

I know it's not python 2.5, and not the system python, but it
shouldn't have any of the pyobjc problems (cause of the pyObjc 1.4
package on the site above)


On Dec 10, 2007 4:11 AM, Olle Olsson [EMAIL PROTECTED] wrote:

 Hello.

 What's the statup of PyGame for Leopard?

 Compiling with Macports or Fink doesn't work due to the dependancy on PyObjC.

 PyObjC got re-written for Leopard and is now v2.0. It is included with the OS 
 version
 of Python (v1.4 simply won't compile under Leopard). The OS Python version 
 ofcourse
 lacks other stuff that pygame needs like numeric and SDL.

 One strange detail is that PyObjC's sourceforge page hasn't been updated to 
 reflect the
 v2.0 re-write. Maybe that's why the fink people can't the pygame build work 
 for leopard.

 Anyways, if any of you guys got pygame running under leopard, please tell how.

 If you know anything that might help on the matter, please also tell :)

 _
 Spara, redigera och organisera dina foton enkelt med Photo Gallery!
 http://get.live.com/photogallery/overview


Re: [pygame] Mac OS X 10.5, Leopard Support

2007-12-10 Thread Nathan
I've asked the same thing twice on this list, and gotten zero
response.  I also asked the macports people for help, zero response.
I also asked the PyObjC people for help, and basically got PyObjC 2
is included with Leopard, duh as a response - as if that somehow
helps.

I've since discovered and migrated half of my projects to pyglet, (
http://pyglet.org ).  One binary OS X installer, no dependencies, and
it works with the system python (so I don't have to worry about
macports, hooray!).  YMMV.

The PyObjC people said their pages haven't been updated because
(basically) they're busy.

If you're dead set on using pygame, I do know that you can copy a
Tiger macports installation of pygame, and it will work.  I didn't go
that route, because I wanted to use python 2.5 and I found pyglet to
be easier to use anyway.

~ Nathan

On Dec 10, 2007 5:11 AM, Olle Olsson [EMAIL PROTECTED] wrote:

 Hello.

 What's the statup of PyGame for Leopard?

 Compiling with Macports or Fink doesn't work due to the dependancy on PyObjC.

 PyObjC got re-written for Leopard and is now v2.0. It is included with the OS 
 version
 of Python (v1.4 simply won't compile under Leopard). The OS Python version 
 ofcourse
 lacks other stuff that pygame needs like numeric and SDL.

 One strange detail is that PyObjC's sourceforge page hasn't been updated to 
 reflect the
 v2.0 re-write. Maybe that's why the fink people can't the pygame build work 
 for leopard.

 Anyways, if any of you guys got pygame running under leopard, please tell how.

 If you know anything that might help on the matter, please also tell :)

 _
 Spara, redigera och organisera dina foton enkelt med Photo Gallery!
 http://get.live.com/photogallery/overview