Skip to content

philetus/pynanovg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyNanoVG

... work in progress ...

Cython powered bindings for NanoVG

Dependencies

  • Cython

Build NanoVG

$ python3 setup.py build_ext -i

Builds 'pynanovg.pynanovg' package 'pynanovg/pynanovg.so' using cython files from ./ and nanovg sourcefiles from nanovg submodule. This module does not use the nanovg lua toolchain and instead builds nanovg from source. See setup.py.

So far we only build the pynanovg.so file which can be locally imported using python.

Usage

Make sure you have a python binding to GLFW3 installed

$ cp ./build/lib.<system>/pynanovg/pynanovg.so ./examples/pynanovg/
$ cd ./examples
$ python3 demo.py

About

cython powered bindings for nanovg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%