CFFI wrapper for SDL2
Project description
sdl2-cffi is a python cffi wrapper for SDL2.
Requirements
Windows wheels are published via C-I builds, so you should be able to install sdl2-cffi on Windows without needing build dependencies.
Building sdl2-cffi requires:
- SDL2 development package
On Windows, the SDL2_DEVEL_PATH environment variable needs to be set to the location the SDL2 SDK is installed.
On other platforms, sdl2-config is expected to work. This might mean other platforms don’t work yet. (Pull request welcome).
- GCC (for C preprocessing)
On Windows, MinGW needs to be installed, and MINGW_PATH should be set if MinGW is installed to a location outside of C:\MinGW.
pycparser
Why
In contrast to https://pypi.python.org/pypi/PySDL2, sdl2-cffi uses CFFI instead of ctypes.
In contrast to https://pypi.python.org/pypi/pysdl2-cffi, sdl2-cffi is licensed under zlib instead of GPLv2.
I wanted to experiment with CFFI. :-)
Licenses
sdl2-cffi is licensed under the zlib license (same as SDL2).
sdl2-cffi contains a copy of the OpenGL spec (which is licensed under the SGI Free Software License B) [see sdl2/gl.xml for more info].
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for sdl2_cffi-1.0.5-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac3c81303251348cd1b5e0124e312bae43e3b49a1e0f68a4222037a4ac811e11 |
|
MD5 | ce1b83c7f6bf7b43c80b021ff4eab68b |
|
BLAKE2b-256 | 07a1e3d0d4f947fd9ebdeeefdc2289bcc1ba509c9960a1fdfa3fdcedd9eab201 |
Hashes for sdl2_cffi-1.0.5-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06083669167f36898ca1481160ea436e9e107e6718028c9c82300e952cd047b9 |
|
MD5 | d328265ce78997a4a25eb6ea991a29f4 |
|
BLAKE2b-256 | d4c59dc412f195be137358323dfb7b469bac7bd08c364eac496801618d7fc3a5 |
Hashes for sdl2_cffi-1.0.5-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca61c33b97ea4bdedf16b06fa45eea0b3bcd793c56c6bccdf488c6e986d78a7b |
|
MD5 | 4650c4cb667ed5c21b1fca5a4dec4fde |
|
BLAKE2b-256 | dd54f88c71c982e0981ef1d33ef4f2f7ab5e48aace6e273ac9fde26cca43ab49 |
Hashes for sdl2_cffi-1.0.5-cp33-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3581b126d0c26188759691fd3f878306e16b68abf8d9bb2646dde1e495a64af3 |
|
MD5 | 7d1c9ffc4be989bdc21a86a3c7f43da5 |
|
BLAKE2b-256 | 0a45785271c5aa904a9e172c5b11ce82e22436197f2547150be652c9f447a2b4 |
Hashes for sdl2_cffi-1.0.5-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcb5fb8486cab54797b22dbdc397de416294eb1b998cb6edaa360596a0f8ef08 |
|
MD5 | c7adcb8720291520dca48e0ac83dc44d |
|
BLAKE2b-256 | b2818d260612ab34455c37344b821a2491c5a7af6c1d2c47e2a4b80331fb088a |
Hashes for sdl2_cffi-1.0.5-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e40a58b44b9705811f47030c5e1425ab91921d9a0cd4e8018444a93892b657a |
|
MD5 | 2540fada806c1d4014ad3885a7037b6a |
|
BLAKE2b-256 | 86392eda7883d1caefbe06f8ff7d2b8e805f72ade8580ce4be376530a9a496f4 |