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.4-cp34-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a729be2feacf2a2cb5c2358186d76a74019d8ed182b9af135496ec8f857f750 |
|
MD5 | 2747253d89684fb77722aa3379432d9c |
|
BLAKE2b-256 | 201b383c826b079050796f1931b8249dbb90e3edd58701b10aed51ff622be0ba |
Hashes for sdl2_cffi-1.0.4-cp34-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cdf3fc328c7b92ff3b9fff0bfce458cc9f224f422b2bb54c50ca20d8620ff3a |
|
MD5 | 6f535d2c96a3755ee0f13cd5b6a29417 |
|
BLAKE2b-256 | 10ad4b9342f8b25bf21138261e57afc1ff4a9363a62e7ff405aae46f28e63287 |
Hashes for sdl2_cffi-1.0.4-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9c9b4723c78085e7b3241727f513b8dc75334ab458c98706a80b80bf87cd399 |
|
MD5 | 3e47a62d7bedf6dbce832566880f6cd2 |
|
BLAKE2b-256 | 712e029fac0f463b9cc87ae173a457ed3e68174362f1c78e77e01d3974ae1825 |
Hashes for sdl2_cffi-1.0.4-cp33-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e3224328f6075f2cda0e3df6f8fb4c7c8ac64c9aa21bbd5ec54082dc95594b2 |
|
MD5 | 024cb2920e2aac79fe0859d9b1fc0e64 |
|
BLAKE2b-256 | a54d66d9814193df15db89a09fbdecf7076bce8ad40985927ec3b0491895eecc |
Hashes for sdl2_cffi-1.0.4-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 873591d4caf61d6bb47a811e203d7a5aa543edb1949bde746600be1acbe02c94 |
|
MD5 | 47a1faa2652399808a6955ee289c8b19 |
|
BLAKE2b-256 | 0a5c5453490c050ac64a94cecf7feae46573d2e9439c218c924fb7b4f38eb53e |
Hashes for sdl2_cffi-1.0.4-cp27-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 917f1e59d8e6ddd52ccf2eb190577262c85fa93d6eac42c1ce2e033bb0c7a3b2 |
|
MD5 | 584332898caf6504ae295a23e1465860 |
|
BLAKE2b-256 | dc5a962f1c17efdef4b3b1fb3f02f82f0c88f053ad03bbaf25df43f025816ea0 |