[vtkusers] Detect where the VTK libraries are installed from within python

Alexander Pletzer alexander.pletzer at nesi.org.nz
Fri Aug 19 00:07:43 EDT 2016


Hi VTK'ians,

I have python code that calls VTK C++ code. To compile the C++ code with
setup.py I need to know where the VTK libraries are installed. This
information is usually collected by cmake when using find_package(VTK) and
stored in the VTK_LIBRARIES, VTK_INCLUDES_DIRS and VTK_RUNTIME_LIBRARY_DIRS
variables.

Does anyone know whether it is possible to extract VTK_LIBRARIES,
VTK_INCLUDES_DIRS and VTK_RUNTIME_LIBRARY_DIRS or some equivalent
information from the python vtk module?

Thanks in advance!

--Alex

-- 
Alexander Pletzer
HPC Scientific Programmer for New Zealand eScience Infrastructure (NeSI)
National Institute of Water and Atmospheric Research (NIWA)
301 Evans Bay Parade, Hataitai, Wellington 6021, New Zealand
mobile: +64 21 085 79661
http://www. <http://www.niwa.co.nz>nesi.org.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160819/d0a8ef8e/attachment.html>


More information about the vtkusers mailing list