X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2FCMakeLists.txt;h=5fca73919bcfa12554294d482bca18594acc6a32;hb=7da74f90b6448a1225ad01d26efb9de3f8631dc7;hp=2e97d3a890c60efb0cf7b222567fb110964f5c02;hpb=5b3d87414326afbabaf210f1c844ec2eb2f723c8;p=modules%2Fshaper.git diff --git a/src/PythonAPI/CMakeLists.txt b/src/PythonAPI/CMakeLists.txt index 2e97d3a89..5fca73919 100644 --- a/src/PythonAPI/CMakeLists.txt +++ b/src/PythonAPI/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2020 CEA/DEN, EDF R&D +# Copyright (C) 2014-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 @@ -18,9 +18,8 @@ # INSTALL(DIRECTORY geom model examples DESTINATION ${SHAPER_INSTALL_PYTHON_API}) -INSTALL(FILES __init__.py DESTINATION ${SHAPER_INSTALL_PYTHON_API}) -#INSTALL(FILES __init__.py DESTINATION ${_pydir}/salome) INSTALL(FILES initConfig.py DESTINATION ${SHAPER_INSTALL_PYTHON_API}) +SALOME_CONFIGURE_FILE(__init__.py __init__.py INSTALL ${SHAPER_INSTALL_PYTHON_API}) # --------- Unit tests ----------- INCLUDE(UnitTest) @@ -42,6 +41,6 @@ if(${HAVE_SALOME}) foreach(tfile ${TEST_NAMES}) list(APPEND TMP_TESTS_NAMES "Test/${tfile}") endforeach(tfile ${TEST_NAMES}) - + list(APPEND TMP_TESTS_NAMES "Test/TestSketcher.py") install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY}) endif(${HAVE_SALOME})