I am currently developing an application based on Opencv (more info here).
In order to ensure that everything is working fine, I would like to try the same code with multiple versions of OpenCV (2.3, 2.4).
This is mainly aiming for Linux development, but I wouldn’t mind finding a solution for Windows also.
As a bonus, I’d really be glad If I could also switch between version from packages, and other compiled from sources.
The solution I am currently thinking about is to download and compile several versions (without the make install) and then use the chosen release folder manually for imports.
This doesn’t solve the package intstall issue, and may not be really usable in the long run
What yould be the best way to achieve such an objective ?
Virtualenv seems to be the good solution for this :