More fun with python and swig
Hello, Happy new year!
I have added support for protocol buffer as in/out parameters of python methods.
This is really tricky, You can have a look at this change if you are interested.
The undesired effect is that you have to install the protocol buffer python package.
The cleanest way is to run make install_python_modules again.
or
cd dependencies/sources/protobuf-512 (on unix) or cd dependencies\sources\protobuf on windows
python setup.py build
python setup.py test (optional)
python setup.py install --user (or python setup.py install if you have root/administrator privileges).
The real downside is that it breaks my previous attempt at python 3.3 compatibility as the protobuf python package breaks even after running 2to3 on it.
I have added support for protocol buffer as in/out parameters of python methods.
This is really tricky, You can have a look at this change if you are interested.
The undesired effect is that you have to install the protocol buffer python package.
The cleanest way is to run make install_python_modules again.
or
cd dependencies/sources/protobuf-512 (on unix) or cd dependencies\sources\protobuf on windows
python setup.py build
python setup.py test (optional)
python setup.py install --user (or python setup.py install if you have root/administrator privileges).
The real downside is that it breaks my previous attempt at python 3.3 compatibility as the protobuf python package breaks even after running 2to3 on it.
Comments
Post a Comment