X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPV_SWIG%2FCMakeLists.txt;h=1c327edf4d35f80ca65a70fab2bfe2ab5a28e57a;hb=35665aca0031dc689940d59cc17e148e6c61334b;hp=769189a2476091ff0cd8f778bce5d34b4002060e;hpb=4176390008721b17e23ff08bcce1ce6b57abc4c5;p=modules%2Fparavis.git diff --git a/src/PV_SWIG/CMakeLists.txt b/src/PV_SWIG/CMakeLists.txt index 769189a2..1c327edf 100644 --- a/src/PV_SWIG/CMakeLists.txt +++ b/src/PV_SWIG/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2015 CEA/DEN, EDF R&D +# Copyright (C) 2010-2022 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -22,17 +22,16 @@ SET(_PYFILES_TO_INSTALL) IF(SALOME_LIGHT_ONLY) LIST(APPEND _PYFILES_TO_INSTALL pvsimple.py - presentations.py ) ELSE(SALOME_LIGHT_ONLY) - # Use a set of Python files redirecting the API directly + # Use a set of Python files redirecting the API directly # to the original ParaView modules. LIST(APPEND _PYFILES_TO_INSTALL pvserver.py pvsimple.py - presentations.py paravisSM.py ) ENDIF(SALOME_LIGHT_ONLY) -INSTALL_AND_COMPILE_PYTHON_FILE("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON}) +SALOME_INSTALL_SCRIPTS("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON}) +SALOME_CONFIGURE_FILE(__init__.py __init__.py INSTALL ${SALOME_INSTALL_PYTHON}/salome/paravis)