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.3-cp34-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3898fd4b134f1ef72a41ff6aaf186fbf3b3dd2920d98ce91044f9c3b8d2ba8f5 |
|
MD5 | 646a2897f3117fba3bda8938d6a9e352 |
|
BLAKE2b-256 | e2455cac91015a765964ace0105b9103350ffdad77f0a3adeae8bc9aa2949ee2 |
Hashes for sdl2_cffi-1.0.3-cp34-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d6d59c10dd4715f50bc4ed3ac60e28eeb86beff5ec1b5fe2679d92e08ab040 |
|
MD5 | 1cd2674d262bbe9d81b4705ea1a2115d |
|
BLAKE2b-256 | 8d7412ec00d54e9fed52c283e7648158c8039a6925ab5152355d18eb6ea3b9dd |
Hashes for sdl2_cffi-1.0.3-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc71dd7dc84d3d8e3f22171be8d82f1ddffc72c9103bd960fe2815dec2142b3f |
|
MD5 | d7191f912d361406c626780cebfc162d |
|
BLAKE2b-256 | c5f27273d12dcaa544c0b2cf1a5c90f3222a9b9948aca0737ddc2ed6915b14eb |
Hashes for sdl2_cffi-1.0.3-cp33-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a500dcf73f1c6fbeb19c68e951f7e4c51b503e48975ad926ea96991c14bf776d |
|
MD5 | ed0e2278bf2504c3a8097b55225ea7bb |
|
BLAKE2b-256 | 36eb9d08b3d2022a290b1e938fd7e9a5119da3605e7948e3e0ff03976c317a72 |
Hashes for sdl2_cffi-1.0.3-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dad4445b7d1515e06a83ffae007d1453c96d3ca99e3d0529c3772cc618e96f2b |
|
MD5 | d78fc028fab21d2ce4c7ab669d1ca935 |
|
BLAKE2b-256 | c9e3d548aaf5d60400b516bc5afae0f4c46e0795afdff17ba1be225bcf3411f8 |
Hashes for sdl2_cffi-1.0.3-cp27-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17c5bceb10294e7c030ef4b7f7ef44326011cc383dbfdcf1e1b4f9c0394475ff |
|
MD5 | 0edaf4b9431b76fce252fa355213876e |
|
BLAKE2b-256 | a11ee3ea0c334f0e47b4b3215fb90285857e726e325a222de4d16167606f3cfa |