[vtk-developers] Some progress on binary wheel for OSX

David E DeMarle dave.demarle at kitware.com
Thu Jul 7 19:03:20 EDT 2016


nice!


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Sat, Jul 2, 2016 at 4:39 AM, Matthew Brett <matthew.brett at gmail.com>
wrote:

> Hi,
>
> Just to say, I did a few hours of hacking and investigation, which got
> me reasonably close to a copy of VTK that could be used for a very
> useful OSX binary installer - full description at:
>
> https://mail.python.org/pipermail/pythonmac-sig/2016-July/024137.html
>
> As y'all know, the current OSX installer isn't much use for doing real
> work, because it ships its own copy of Python, making it difficult to
> install other Python packages for doing standard things like array
> manipulation, statistics and so on.
>
> The ideal would be to be able to build a binary wheel [1] for OSX, so
> the user could do:
>
>     pip install vtk
>
> to install a copy of vtk into the Python environment they are using -
> such as Python.org Python, homebrew, etc.  This has already been done
> for nearly all the main scientific Python projects such as numpy,
> scipy, matplotlib etc.
>
> The big hold-up for VTK, is the current behavior of VTK / cmake, to
> link the Python library by absolute path directly into the VTK libs,
> so the build is tied to the path of the Python binary [2, 3].
>
> I see there's a pull request already in from the homebrew folks to try
> and fix that [4] - which is excellent news.   I believe that, once
> this is merged and released, it should be fairly easy to build an OSX
> wheel that would work in any standard OSX Python environment, which
> would be a huge step forward in terms of ease of the install process.
>
> Cheers,
>
> Matthew
>
> [1] https://www.python.org/dev/peps/pep-0427/
> [2] http://blog.tim-smith.us/2015/09/python-extension-modules-os-x/
> [3] https://github.com/Homebrew/homebrew-science/issues/3401
> [4] https://gitlab.kitware.com/vtk/vtk/merge_requests/1511
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160707/32e139cd/attachment.html>


More information about the vtk-developers mailing list