A Python wrapper for GLFW based on CFFI
Python C Shell
Switch branches/tags
Nothing to show
Clone or download
Latest commit 0766e96 Jan 10, 2016
Permalink
Failed to load latest commit information.
PyGlfwCffi py3k Jan 9, 2016
doc README Jan 9, 2016
gh-pages init Oct 29, 2014
tools removed tools Jan 9, 2016
.gitignore gitignore Jan 9, 2016
LICENSE.txt init Oct 29, 2014
MANIFEST.in fixed setup and MANIFEST.in Jan 9, 2016
README.html README Jan 9, 2016
README.rst README Jan 9, 2016
README.txt README Jan 9, 2016
setup.py py3k Jan 9, 2016
setup_data.py fixed setup Jan 10, 2016
simple-test.py Python3 support Jan 12, 2015

README.rst

pyglfw-cffi

Written by Fabrice Salvaire.

pyglfw-cffi license pyglfw-cffi python version

pyglfw-cffi last version pyglfw-cffi format pyglfw-cffi Download per month


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.

Installation

Dependencies

pyglfw-cffi requires the following dependencies:

Installation from PyPi Repository

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

Installation from Source

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

Testing

To test the wrapper run this script:

python simple-test.py