Boost logo

Boost Users :

From: Yu Huang (yh_at_[hidden])
Date: 2005-12-16 14:23:22


HI Doug,

The python binding for BGL is great.

I tested the version, 0.9 downloaded from
http://www.osl.iu.edu/~dgregor/bgl-python/. Unfortunately, it broke.
But the version from " svn co
https://svn.osl.iu.edu/svn/projects/viz/bgl-python" works though lots of
warnings.

I compiled it against boost 1.33.1. So i suggest you update the tarball
link.

Due to the old system on our cluster, i have to use python 2.2. The
'enumerate' is not available in 2.2. So a snip like below is necessary
to be added to graph/docstring.py.

def enumerate(ls):
        ls_to_return = []
        for i in range(len(ls)):
                ls_to_return.append((i,ls[i]))
        return ls_to_return

Yu


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net