<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Oct 6, 2015 at 2:51 PM, Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Sun, Oct 04, 2015 at 19:51:56 +0200, Matthias Blaicher wrote:<br>
><br>
> I'm unclear though, how I'm supposed to build a python 2 and python 3<br>
> interface at the same time. Is this even possible right now? Hints on<br>
> how to do this would be greatly appreciated!<br>
<br>
</span>Right now, use two build trees. A single build tree supporting both is<br>
not feasible currently. Adding suffixes to Python-dependent modules such<br>
as vtkFiltersPython will need to be done so they don't conflict with<br>
each other, but other than that, getting a multi-python-version build<br>
would require major changes to the module system (and FindPython too)<br>
for everything to work properly.<br></blockquote><div><br></div><div>There is a patch here that adds pyversion-specific suffixes to libraries</div><div>that link to Python:</div><div><br></div><div>  <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/744/diffs">https://gitlab.kitware.com/vtk/vtk/merge_requests/744/diffs</a></div><div><br></div><div>It's very far from a complete solution for the multi-python build, but it</div><div>might satisfy your current needs.</div><div><br></div><div>There's also a patch in the works for the relative import issue:</div><div><br></div><div>  <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/748">https://gitlab.kitware.com/vtk/vtk/merge_requests/748</a></div><div><br></div><div> - David</div><div><br></div></div></div></div>