Welcome to the pyglfw-cffi documentation!

Note

The official Home Page of pyglfw-cffi is located at http://fabricesalvaire.github.io/pyglfw-cffi

If you are at http://readthedocs.org then you are reading the so called latest documentation.

The latest documentation pyglfw-cffi@readthedocs-badge is automatically built from the git repository after each commit.

As opposite the pyglfw-cffi Home Page is built manually and is thus less prone to errors.

This Python package 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.

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

python simple-test.py

Table Of Contents

This Page