From: jfa Date: Thu, 13 Apr 2023 15:29:47 +0000 (+0100) Subject: Add BuildingIS to SALOME_MODULES X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d00c4e00b9beb3f5ebed70e2803abc59867e5e2e;p=tools%2Fsat_salome.git Add BuildingIS to SALOME_MODULES --- diff --git a/products/env_scripts/sbim_smodule.py b/products/env_scripts/sbim_smodule.py index c134e9c..5eb380f 100644 --- a/products/env_scripts/sbim_smodule.py +++ b/products/env_scripts/sbim_smodule.py @@ -5,14 +5,15 @@ import os.path import platform def set_env(env, prereq_dir, version): + env.append('SALOME_MODULES', "BuildingIS", ',') env.set('BuildingISHOME', prereq_dir) env.set('BuildingIS_ROOT_DIR', prereq_dir) + product_root_dir=env.get("PRODUCT_ROOT_DIR") env.set('BuildingIS_SRC_DIR', os.path.join(product_root_dir, "SOURCES", "sbim_smodule")) versionPython = env.get('PYTHON_VERSION') - env.prepend('PYTHONPATH', env.get('BuildingISHOME')) + env.prepend('PYTHONPATH', prereq_dir) env.prepend('PATH', os.path.join(prereq_dir, 'bin')) env.prepend('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib', 'salome')) - #env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', 'python')) env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages', 'salome')) def set_nativ_env(env): diff --git a/products/sbim_smodule.pyconf b/products/sbim_smodule.pyconf index 56d4c42..73c5ccb 100644 --- a/products/sbim_smodule.pyconf +++ b/products/sbim_smodule.pyconf @@ -25,5 +25,7 @@ default : properties : { incremental : "yes" + has_salome_gui : "yes" + is_SALOME_module : "yes" } }