<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>> VTK_ENABLE_VTKPYTHON:BOOL=OFF</div><div><br></div><div>As a side note, would it make sense to renamed this option to VTK_BUILD_VTKPYTHON_EXECUTABLE (or VTK_ENABLE_VTKPYTHON_EXECUTABLE)</div><div><br></div><div>> distribution builds should try to enable *everything*</div><div><br></div><br><div>In that context, I don't think it makes sense to build VTK own python interpreter. Ideally, it should be possible to run VTK test with or without it.<br></div><div><br></div><div><div>I also envision we could have a "vtk-openvr" python module but it wouldn't be available by default when installing vtk wheel. To support this level of "modularity" , we would continue building part of VTK independently (for example, we can already do this with the VTKOpenVR module)<br></div></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 6, 2018 at 11:48 AM David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I think the dependency comes in for the sake of VTK's python tests, as those call vtkpython.<div>Prabu can you try this and see if you get a pip worthy build out of it?<br></div><div><a href="https://gitlab.kitware.com/demarle/vtk/commits/WIP-break-wrappings-vtkpythoninterpreter-dependency" target="_blank">https://gitlab.kitware.com/demarle/vtk/commits/WIP-break-wrappings-vtkpythoninterpreter-dependency</a><br></div><div>Note you must set these two configure flags to get it to compile.<br></div><div>BUILD_TESTING:BOOL=OFF<br><div><div>VTK_ENABLE_VTKPYTHON:BOOL=OFF</div><div>Longer term we should do a clean break by trying to move the bits of VTKPYTHON that remain in Wrapping/PythonCore to Utilities/PythonInterpretter and making sure the python tests agree.<br></div><div><br></div><div>Regarding matplotlib, for the moment just leave it off in the wheels. Ben's point of wrapping everything and the corrolary that VTK's modules should be atomic (options don't change the library internals) is an important goal that we won't fix in 8.2. We made strides in VTK 6.0 and will get much closer in 9.0, hopefully packagers and all consumers of VTK will have a better time of it after 9.</div><div><br></div><div><div dir="ltr" class="gmail-m_3168853832210790336gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>David E DeMarle<br>Kitware, Inc.<br>Principal Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div></div></div></div></div><br><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 28, 2018 at 3:44 PM Ben Boeckel via vtk-developers <<a href="mailto:vtk-developers@public.kitware.com" target="_blank">vtk-developers@public.kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Nov 28, 2018 at 15:06:43 -0500, Prabhu Ramachandran wrote:<br>
> Does vtkWrappingPythonCore depend on vtkPythonInterpreter? <br>
> vtkWrappingPythonCore does not link to libpython or to vtkPythonInterpreter. <br>
<br>
My bad, it's a COMPILE_DEPENDS. Though why that is isn't obvious.<br>
Removing that dependency and then disabling the module should work.<br>
<br>
> The wheels by default do not seem to enable vtkRenderingMatplotlib although I am<br>
> not sure if it should be added by default in the future, in which case this is a<br>
> more serious issue.<br>
<br>
IMO, distribution builds should try to enable *everything* so there<br>
isn't a question of "what do I have today?" when doing `import vtk`.<br>
Keeping it disabled for 8.2 sounds fine, but 9.x will make it easier to<br>
not have the linking problem.<br>
<br>
--Ben<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div>
</blockquote></div>