Hi Matt,

if you check MITK_USE_SYSTEM_PYTHON you have to provide all dependencies with 
your system runtime (that’s why numpy is turned off).
Unfortunately the option is not used/tested regularly by us.
Hope that answers your question.

Best,
Michael

-----Ursprüngliche Nachricht-----
Von: Clarkson, Matt [mailto:m.clark...@ucl.ac.uk] 
Gesendet: Freitag, 25. September 2015 09:34
An: MITK
Betreff: [mitk-users] Query on Python installation dirs

Hi all,

In Numpy.cmake you have "if( MITK_USE_Python AND NOT MITK_USE_SYSTEM_PYTHON )”.

But in VTK.cmake you have:


  if(MITK_USE_Python)
    if(NOT MITK_USE_SYSTEM_PYTHON)
     list(APPEND proj_DEPENDENCIES Python)
     set(_vtk_install_python_dir 
-DVTK_INSTALL_PYTHON_MODULE_DIR:FILEPATH=${MITK_PYTHON_SITE_DIR})
    else()
      set(_vtk_install_python_dir 
-DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=${ep_prefix}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages)
    endif()

So, if MITK_USE_SYSTEM_PYTHON=ON, then Numpy wont be compiled, or installed, 
and yet VTK will be compiled with Python, and installed to one of two different 
places as MITK_PYTHON_SITE_DIR is under the Python_DIR.

Is that right?

And, do you regularly use MITK_USE_SYSTEM_PYTHON?

THanks

Matt

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to