Py++

Over the past few months I have spent time writing an NFS client library in C++ and recently I was asked to add Python bindings. I looked into ctypes and found that it was really not suitable for C++ and so I started looking at Boost.Python. Somehow I happened across Py++. With a minimal amount of time the GUI was able to output Boost.Python code. To make it work from Ubuntu:

* sudo apt-get install libboost-python1.37.0 libboost-python1.37-dev
* get Py++ from the website and sudo python setup.py install
* run pyplusplus_gui
– give it a header file
– point GCC_XML location at: /usr/bin/gccxml
– push a button … how easy is that?

3 thoughts on “Py++

  1. Once I tried to use Py++ under Windows/Mingw.
    This turned out to be more difficult.

  2. Actually, I think I’m finding the same thing out – it’s a fascinating idea but strangely more complex than it probably should be. Did you just end up doing it manually?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>