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.2-cp34-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa6ec127910f7290997057f6c6fa0974f00ea4c74fdbbc6f00303da7e92fc5ed |
|
MD5 | f46bea1aee07d204fb737de2c1dc2e09 |
|
BLAKE2b-256 | a01cb76cf28962c9137c1a4453d16c6f78ff3b8f1277dd99a273d9c79f018a1c |
Hashes for sdl2_cffi-1.0.2-cp34-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc12d32e29e597e551bd8d6099dabf7589c292a411ed0a858fc1299d7db86128 |
|
MD5 | 1f37383975185e8c3886df9cbaed9016 |
|
BLAKE2b-256 | 14797f24d220614cbe276fd6d41988f62a82bd2c75375aa7e448e2112bc3b28d |
Hashes for sdl2_cffi-1.0.2-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b899c9994ab9838f6da886dc2b7921f3e61f9d8089b12d8957415124c211362d |
|
MD5 | aa6a17cdca1a45090e8958ae71b84aae |
|
BLAKE2b-256 | ebdb6e8f343a4f14c11fe684f2c9b2daa89f74650c8dfd6ec295ecd7b97448b0 |
Hashes for sdl2_cffi-1.0.2-cp33-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b3e251f5609bf1171789ff2966321d91b4c4bd757aacc457cd8798c1df07bc |
|
MD5 | c966d229f79c02ddfc8837039a32762f |
|
BLAKE2b-256 | da4dcb635030a28602fd43adf0d28e9482245722731ae2d40399c20a823c08fa |
Hashes for sdl2_cffi-1.0.2-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dfd60f12a502e98a37ca122aa2b13b780f20c0a2ac0ed86e79b26f176522585 |
|
MD5 | 5679fea4f3ccf45523cfbc92b47636f4 |
|
BLAKE2b-256 | 10538addfdf09b25d9c02061c8e78f051c1f00a896765b198f1c8c563abe0b66 |
Hashes for sdl2_cffi-1.0.2-cp27-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5216d8db7fdb57616d5d8d19546d679e60825804f55b7e9db56f5078f269bd73 |
|
MD5 | c8c89c5d99b8f49d7dd66c77807c2874 |
|
BLAKE2b-256 | 9c1dcdbe472bac51c74292d964414a506f19dfaf3d2e112c09f52bc57b7e5a34 |