<div dir="ltr"><div>Hi All,</div><div><br></div><div>I'd just like to report that VTK seems to work just fine without the PythonD libraries. Stuffing all of the extension classes into the Python modules themselves simplifies the build, and the only really significant change is that now each Python module is responsible for loading all of the Python modules it depends on.</div><div><br></div><div>This isn't merged yet (the MR is here: <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/3075" rel="noreferrer" target="_blank">https://gitlab.kitware.com/<wbr>vtk/vtk/merge_requests/3075</a>), but I'm hoping to be able to merge it in the coming weeks.</div><div><br></div><div>Any projects that call upon VTK's vtkWrapPython tools will, of course, have to be modified after this change. Basically, the PythonD libs must not be built, and the Python.cxx files must instead go into the Python modules. For example, here are the changes necessary for ParaView: <a href="https://gitlab.kitware.com/paraview/paraview/merge_requests/1831/diffs">https://gitlab.kitware.com/paraview/paraview/merge_requests/1831/diffs</a></div><div><br></div><div>Hopefully this change will help to simplify building and packaging VTK.</div><div><br></div><div>Cheers,</div><div> - David</div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 31, 2017 at 9:07 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">That is very cool! Thanks for doing this, David!<br>
<div><div class="gmail-h5"><br>
On Sun, Jul 30, 2017 at 11:13 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I've put together patch that removes the intermediate wrapper libs (the<br>
> PythonD libs). So instead of vtkCommonCorePythonD and vtkCommonCorePython,<br>
> now there is only vtkCommonCorePython etc.<br>
><br>
> <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/3075" rel="noreferrer" target="_blank">https://gitlab.kitware.com/<wbr>vtk/vtk/merge_requests/3075</a><br>
><br>
> Some tweaking is still needed, e.g. currently it assumes the modules are<br>
> directly in the python path, and it won't work if the modules are put inside<br>
> the vtk package directory.<br>
><br>
> - David<br></div></div></blockquote></div></div></div></div>