Salome HOME
return compsolid, when result is compound of connected solids
[modules/shaper.git] / src / PythonAPI / CMakeLists.txt
index 2e97d3a890c60efb0cf7b222567fb110964f5c02..5fca73919bcfa12554294d482bca18594acc6a32 100644 (file)
@@ -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})