[vtk-developers] Minimum Python requirement

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu Feb 13 13:29:51 EST 2014


I vote for the CMake approach.


On Thu, Feb 13, 2014 at 11:22 AM, Ben Boeckel <ben.boeckel at kitware.com>wrote:

> On Thu, Feb 13, 2014 at 10:55:10 -0700, David Gobbi wrote:
> > Actually, the check should probably be done in the CMakeLists.txt:
> >
> > if(${PYTHON_VERSION} VERSION_GREATER "2.6")
> >   vtk_add_test_python(TestImageJSONWriter.py NO_VALID)
> > endif()
>
> I don't see why. We can certainly *run* the test on older Python
> versions, we just can't *validate* the test. In the absence of the
> latter, I'd take segfault discovery of a simple run test :) .
>
> --Ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140213/6611b40a/attachment-0002.html>


More information about the vtk-developers mailing list