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.

Comments

Popular posts from this blog

Linking glpk with or-tools on unix

Changing the way we link with SCIP

Heads up, upcoming incompatibility in the CP/Routing library