<div dir="ltr"><div>Thanks Dave for laying it out.</div><div><br></div><div>I'll try and steal some of my cycles too, but they likely won't come until the runup to the next release (a month or more from now).<br></div>

<div><br></div><div>We do 1c for paraview and vtkpython binaries. The exact incantations vary per OS. Search for fixup bundle for reference material.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra">

<br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 12:07 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Okay, I've taken a long look at PEP 427 and I have an inkling of how a<br>
python VTK wheel can be built.<br>
<br>
First, a new CMake variable "VTK_BUILD_PYTHON_WHEEL" should be<br>
added, to turn on the wheel-building machinery.  When this variable is set,<br>
the following should happen:<br>
<br>
<br>
1) CMake should build a wheel-compatible vtk module directory,<br>
which will differ from the current vtk python module directory in the<br>
following ways:<br>
<br>
1a) The .py files will not be compiled (no .pyc files)<br>
<br>
1b) The directory will contain not only the extension modules (i.e.<br>
the .so/.pyd files), but it will also contain all of the VTK runtime<br>
libraries that the extension modules depend on.<br>
<br>
1c) CMake will have to set the loader paths in all the shared objects<br>
so that they can find each other.<br>
<br>
<br>
2) After CMake has built the module, the python wheel-building tools<br>
can hopefully do the rest:<br>
<br>
2a) CMake will check that python has the "wheel" installed<br>
<br>
2b) the python module directory that CMake built above becomes the<br>
wheel platlib subdir.<br>
<br>
2c) "wheel" will create all the other necessary files and create the .whl<br>
<br>
<br>
I know how to do 1a and 1b, and can look into 1c (CMake should easily<br>
be able to do it for all platforms).  I probably won't be able to do<br>
any work on this in the immediate future, though.<br>
<div class="HOEnZb"><div class="h5"><br>
 - David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>