Skip to main content

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

  1. 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).

  2. 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

  1. Install dependencies (probably in a virtualenv)

  2. Run cffi_builders/build.py

  3. 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

pygame_cffi-0.0.2.tar.gz (112.9 kB view details)

Uploaded Source

File details

Details for the file pygame_cffi-0.0.2.tar.gz.

File metadata

  • Download URL: pygame_cffi-0.0.2.tar.gz
  • Upload date:
  • Size: 112.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygame_cffi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 304bf577a397fab780499158156d1ccab55039480736b4815b9fcb03e67d70a7
MD5 87fb3cec6ee0d2135725e3715db586b9
BLAKE2b-256 3d4d351a5cd6bd473b2e342fd6032b6333950ec8196f7260487bbfccd1445439

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page