<div dir="ltr"><div><div><div><div><div><div>Hi Utkarsh, <br><br></div>I would prefer to have a more generic way of configuring the import behavior.<br><br></div>The idea would be to have two top-level packages: vtk and vtkConfig<br><br></div>To skip loading of all module, you would do:<br></div><div><br></div><div>-------------------<br></div>import vtkConfig<br></div>vtkConfig.VTK_MODULE_IMPORT = vtkConfig.EXPLICIT # Default would be vtkConfig.ALL. Later we could also have vtkConfig.LAZY<br><br></div>import vtk<br>-------------------<div><br></div><div>This would allow to keep things coherent for our user. Naming the package "vtkmodules" seem unconventional.</div><div><br></div><div>It would also have the advantage of support addition of new option.</div><div><br></div><div>For example:</div><div><br></div><div>vtkConfig.RENDERING_METHOD = vtkConfig.OFFSCREEN # or vtkConfig.MESA, .... <br></div><div><br></div><div>Jc<br></div><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 12, 2017 at 4:55 PM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Dec 12, 2017 at 3:18 PM, Ben Boeckel <<a href="mailto:ben.boeckel@kitware.com">ben.boeckel@kitware.com</a>> wrote:<br>
> On Tue, Dec 12, 2017 at 15:06:15 -0500, Prabhu Ramachandran wrote:<br>
>> Would `vtkm` be a shorter name rather than `vtkmodules`?<br>
><br>
> `vtkm` is a different project already (though I don't know of its status<br>
> with Python wrapping outside of the VTK filters which use it).<br>
<br>
</span>Yea, alas `vtkm` won't be a good option.<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<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/<wbr>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=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">+1 919 869 8849<br></div>
</div>