Links

Content Skeleton

This Page

Previous topic

svgplotlib

Next topic

SCM

svgplotlib

Python package to create SVG charts and graphs.

Warning

not installed, stuck at pyparsing

0.2 issues

freetype build issue (py25)

At build:

simon:svgplotlib-0.2 blyth$ python setup.py build

Get freetype headers missing:

svgplotlib/freetype.c:239:30: error: freetype/fttypes.h: No such file or directory
...

Resolved by adding to include_dirs in setup.py:

include_dirs = ['svgplotlib','svgplotlib/include', '/opt/local/include/freetype2', '/opt/local/include'],

Try:

simon:svgplotlib-0.2 blyth$ sudo port install freetype

runtime requires

  1. collections.namedtuple, so needs at least py26
  2. pyparsing, not in macports

G py26 build/install

sudo port install py26-cython

simon:svgplotlib-0.2 blyth$ python2.6 setup.py build
simon:svgplotlib-0.2 blyth$ sudo python2.6 setup.py install