Hi: I am trying to write python bindings for an already existant c++ library. I started using pyste, because I felt this was the easiest way to do it. However I keep getting errors (mostly I think because of string and vector arguments conversion). I just wanted to ask if I am on the right track here. Maybe someone can give me some pointers on how to make this task easier? (I was tempted to switch to pyrex, swig, etc, but everything seems to have its own problems.) Should I use pyste, or should I rather write boost.python code directly? Thank you, Ricardo
Ricardo Kirkner
Hi:
I am trying to write python bindings for an already existant c++ library. I started using pyste, because I felt this was the easiest way to do it. However I keep getting errors (mostly I think because of string and vector arguments conversion). I just wanted to ask if I am on the right track here. Maybe someone can give me some pointers on how to make this task easier? (I was tempted to switch to pyrex, swig, etc, but everything seems to have its own problems.)
Should I use pyste, or should I rather write boost.python code directly?
You should be posting this question to the C++-sig: http://www.boost.org/more/mailing_lists.htm#cplussig, and you should include a minimal, complete example that shows the sort of problems you're having. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams
-
Ricardo Kirkner