Written by Fabrice Salvaire.
This Python module provides a CFFI wrapper for the GLFW library.
GLFW is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.
Look the file simple-test.py to learn how to use the wrapper.
pyglfw-cffi requires the following dependencies:
pyglfw-cffi is made available on the PyPI repository at https://pypi.python.org/pypi/pyglfw-cffi
Run this command to install the last release:
pip install pyglfw-cffi
The pyglfw-cffi source code is hosted at https://github.com/FabriceSalvaire/pyglfw-cffi
To clone the Git repository, run this command in a terminal:
git clone git@github.com:FabriceSalvaire/pyglfw-cffi.git
Then to build and install pyglfw-cffi run these commands:
python setup.py build
python setup.py install
To test the wrapper run this script:
python simple-test.py