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

Re: [pygame] PySDL2 0.5.0 released



Hi Marcus,

Thanks for the great work.

How do I run PySDL2's unit tests?

I'm trying to run the scripts in the sdl2/test/ folder -- directly or passing them as arguments to the module unittest -- but am getting errors due to relative imports, both for Python 2.7 and 3.3.


2013/8/16 Lenard Lindstrom <len-l@xxxxxxxxx>
Hi,

No criticism intended. I just went straight to installing and trying. I have Python 2.5 installed for Pygame testing, so gave it a try. I was really interested to see PySDL2 work with PyPy. If I understand correctly, the PyPy jit optimizes ctype calls, removing the performance hit found in CPython. Pygame does not port cleanly to PyPy, so PySDL2 is a good start in getting graphical support into PyPy.

Lenard


On 13-08-15 11:11 PM, Marcus von Appen wrote:
On, Fri Aug 16, 2013, Lenard Lindstrom wrote:

Hi Marcus,

Well, your "Hello, World!" example
(http://pysdl2.readthedocs.org/en/latest/tutorial/helloworld.html) works
on Linux Mint with Python 2.7 (both CPython and PyPy versions) and
Python 3.3. It failed to install for Python 2.5, though.
This is intended (see
http://pysdl2.readthedocs.org/en/latest/install.html for the version
prerequisites).

Cheers
Marcus