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

Re: [pygame]



Yes, the changes have been applied to Pygame 1.9.2. The latest Pygame source in SVN builds for Python 3.2 out of the box. It is part of my testing cycle for both 32 bit Windows and linux.

Lenard

On 26/02/11 09:39 AM, Westley MartÃnez wrote:
So can I assume it will work on the next release of Pygame?

On Sat, 2011-02-26 at 00:11 -0800, Lenard Lindstrom wrote:
Hello,

I ported Pygame to Python 3.2 and it builds successful for linux and
Windows for my 32 bit machine. The only extension modules still to be
ported to Python 3 are scrape, _camera, and _movie. What is the status
of the ffmpeg _movie module anyway?

Lenard Lindstrom


On 25/02/11 11:21 PM, Renà Dudfield wrote:
Hi,

I do not think anyone has tried it with 3.2 yet?  I will see if i can
get it working today.  I guess we will need  to do another release
after it is fixed.  Or maybe you will be able to apply a small
patch... not sure yet.

Speak again soon.

On 26 Feb 2011 06:44, "Westley MartÃnez"<anikom15@xxxxxxxxx
<mailto:anikom15@xxxxxxxxx>>  wrote:
Hello, I am a developer who frequently uses pygame. I'm wondering if
anyone has been able to successfully build pygame for Python 3.2.
Specifically the i686 and x86_64 architectures.

I know pygame hasn't been completely ported to Python 3, nevertheless I
maintain a package for Arch Linux for pygame on Python 3. Arch Linux
recently updated to Python 3.2 (it is a rolling release distribution)
and I was able to build pygame fine, but when I attempted to import it I
got an error:

Python 3.2 (r32:88445, Feb 21 2011, 01:55:53)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/usr/lib/python3.2/site-packages/pygame/__init__.py", line 95,
in<module>
from pygame.base import *
ImportError:
/usr/lib/python3.2/site-packages/pygame/base.cpython-32mu.so
<http://base.cpython-32mu.so>: undefined symbol: PyCObject_FromVoidPtr
I am unsure why, and I am neither a pygame nor a CPython developer. This
is the process I used to build the package:

python config.py
python setup.py install --prefix=/usr
cp -R examples lib/* "/usr/lib/python3.2/site-packages/pygame"
cp -R test/* "/usr/lib/python3.2/site-packages/pygame/tests"
chmod 644 /usr/include/python3.2mu/pygame/*

Any information is appreciated.