A cffi-based SDL wrapper that copies the pygame API.
Project description
# pygame_cffi
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, or later license.
## Discussion
We have a Google Group: https://groups.google.com/forum/#!forum/pygame-cffi. Any pygame-cffi discussion welcome!
## Installation
Install the requirements listed below. On a Debian-based system, all requirements can be installed using sudo apt-get build-dep pygame (pygame_cffi requires most of the pygame dependencies).
pip install pygame_cffi
## Requirements
libjpeg-dev
libpng-dev
libsdl1.2-dev
libsdl-image1.2-dev
libsdl-mixer1.2-dev
libsdl-ttf2.0-dev
## Local Development
Install dependencies (probably in a virtualenv)
Run cffi_builders/build.py
Hack
## Running Tests
Upstream pygame unit tests: python -m test
Conformance between pygame and pygame_cffi: See conformance/README
pygame_cffi functionality example apps are in the demos directory
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pygame_cffi-0.1.0.tar.gz
.
File metadata
- Download URL: pygame_cffi-0.1.0.tar.gz
- Upload date:
- Size: 288.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 626de3e75040d215ad201e13b0e38a23a34b7aafa6fd908437b6d90f441f7e00 |
|
MD5 | ea6428501f64693833d9ec46fc4260a9 |
|
BLAKE2b-256 | 61488e1679abfbe87b47d1a0efbe3f9336f3983bcfd172e78c9cabb44b32f1ad |