Boost logo

Boost Users :

From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2005-12-20 18:10:32


On Dec 16, 2005, at 2:23 PM, Yu Huang wrote:
> The python binding for BGL is great.

Glad to hear it :)

> 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.

Will do. We'll try to release a 0.9.1 in the "near" future.

> 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

Okay, thanks!

        Doug


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