pupil-labs / pyglui

cython powered OpenGL gui that works with glfw
MIT License
29 stars 20 forks source link

Code style: black Build and deploy PyPI version pre-commit

pyglui

Cython powered OpenGL gui.

Installation

pip install pyglui

Source installation

Dependencies

Linux (via apt-get)

sudo apt-get install libglew-dev

Linux (via yum)

yum install glew-devel

MacOS

brew install glew

Source code

# Clone the repository to the local filesystem
git clone http://github.com/pupil-labs/pyglui --recursive
cd pyglui

# Build and install `pyglui` in "editable" mode
python -m pip install -e .

Run the demo

# Clone the repository to the local filesystem
git clone http://github.com/pupil-labs/pyglui --recursive
cd pyglui

# Build and install `pyglui` in "editable" mode, with examples dependencies
python -m pip install -e ".[examples]"

# Run the demo example
cd example
python3 example.py

Demo screenshot as of 2017-12-19