you currently get a deprecated API warnings when using pyublas with
numpy 1.7. I made some changes to avoid it, which I would like to
provide for others too. I could test them with numpy 1.6.2 and numpy
1.7.1 on debian linux. I hope this is useful.