From c424463b19c41a110420a8bec34a4a4677a7a384 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 16 Nov 2023 11:29:02 +0100 Subject: [PATCH] bos #38877: [EDF] Extend PYTHONPATH in EFICAS_TOOLS --- products/env_scripts/EFICAS_TOOLS.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/products/env_scripts/EFICAS_TOOLS.py b/products/env_scripts/EFICAS_TOOLS.py index e342798..e7bb62b 100644 --- a/products/env_scripts/EFICAS_TOOLS.py +++ b/products/env_scripts/EFICAS_TOOLS.py @@ -19,9 +19,9 @@ def set_env(env, prereq_dir, version): for d in ld: env.append('PYTHONPATH', os.path.join(prereq_dir, d)) env.append(LD_LIBRARY_PATH, os.path.join(prereq_dir, d)) - + # bos #38877 + pyver = 'python' + env.get('PYTHON_VERSION') + env.append('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver,'site-packages', 'salome')) + def set_nativ_env(env): - env.set('EFICAS_TOOLS_ROOT_DIR', '/usr') # update for cmake - env.set('EFICAS_TOOLS_ROOT', '/usr') - env.set('EFICAS_TOOLS_LIB_DIR', '/usr/lib') pass -- 2.39.2