New python modules
Hello,
I have built new python modules on pypi. They are based on svn 3107.
The main difference is that on unix platforms, they use a single shared library for the C++ part (instead of embedding everything in the _pywrapXXX.{so | dylib}. Unfortunately, I do not know how to replicate this on windows machines, except by patching all my header files to use __declspec(dllimport) and __declspec(dllexport), which I do not want to do :-)
This results in smaller packages (17MB -> 7MB), and also allows using more than one module (constraint solver, linear solver, knapsack solver, and graph algorithms) in one application.
For windows users, I now offer egg and windows .exe installers.
This was actually not trivial. You have to patch the wrapper libraries to change to path the search to find the ortools shared library.
Thanks
I have built new python modules on pypi. They are based on svn 3107.
The main difference is that on unix platforms, they use a single shared library for the C++ part (instead of embedding everything in the _pywrapXXX.{so | dylib}. Unfortunately, I do not know how to replicate this on windows machines, except by patching all my header files to use __declspec(dllimport) and __declspec(dllexport), which I do not want to do :-)
This results in smaller packages (17MB -> 7MB), and also allows using more than one module (constraint solver, linear solver, knapsack solver, and graph algorithms) in one application.
For windows users, I now offer egg and windows .exe installers.
This was actually not trivial. You have to patch the wrapper libraries to change to path the search to find the ortools shared library.
Thanks
Comments
Post a Comment