A cffi-based SDL wrapper that copies the pygame API.
We copy various code and API ideas from pygame, so we inherit pygame's LGPL v2.1 license.
Discussion
We have a Google Group: https://groups.google.com/forum/#!forum/pygame-cffi. Any pygame-cffi discussion welcome!
Installation
pygame_cffi has not been packaged yet (coming soon). So the way to install is:
- Clone this repo.
- Install the requirements listed below. All requirements except CFFI can be installed using
sudo apt-get build-dep pygame
on a Debian-based Linux distro (pygame_cffi requires most of the pygame dependencies). - Add the pygame_cffi directory to your Python path.
Requirements
- libjpeg-dev
- libpng-dev
- libsdl1.2-dev
- libsdl-image1.2-dev
- libsdl-mixer1.2-dev
- libsdl-ttf2.0-dev
- python-cffi