Skip to content

Latest commit

 

History

History

pynix

#About PyNIX#

These are very simple Python bindings for Nix, they were made using Python's C API. A demo Python script that uses the bindings is also provided.

#Dependencies#

You'll need the OpenGL module for Python. On Ubuntu do this:

  sudo apt-get install python-opengl

#Compiling#

Create a build directory inside glut-nix-view base directory and change to it:

  mkdir build
  cd build

Inform where the dependencies are located:

  export LD_LIBRARY_PATH=$WEBKITOUTPUTDIR/install/lib

Compile it using cmake:

  cmake ..
  make

#Running#

  ../pynixdemo