Skip to main content

CFFI wrapper for SDL2

Project description

appveyor travis

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sdl2-cffi-1.0.5.tar.gz (203.4 kB view hashes)

Uploaded Source

Built Distributions

sdl2_cffi-1.0.5-cp34-cp34m-win_amd64.whl (2.9 MB view hashes)

Uploaded CPython 3.4m Windows x86-64

sdl2_cffi-1.0.5-cp34-cp34m-win32.whl (2.5 MB view hashes)

Uploaded CPython 3.4m Windows x86

sdl2_cffi-1.0.5-cp33-none-win_amd64.whl (2.9 MB view hashes)

Uploaded CPython 3.3 Windows x86-64

sdl2_cffi-1.0.5-cp33-none-win32.whl (2.5 MB view hashes)

Uploaded CPython 3.3 Windows x86

sdl2_cffi-1.0.5-cp27-cp27m-win_amd64.whl (2.9 MB view hashes)

Uploaded CPython 2.7m Windows x86-64

sdl2_cffi-1.0.5-cp27-cp27m-win32.whl (2.5 MB view hashes)

Uploaded CPython 2.7m Windows x86

Supported by

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