From: Nabil Ghodbane Date: Thu, 16 Nov 2023 10:29:02 +0000 (+0100) Subject: bos #38877: [EDF] Extend PYTHONPATH in EFICAS_TOOLS X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c424463b19c41a110420a8bec34a4a4677a7a384;p=tools%2Fsat_salome.git bos #38877: [EDF] Extend PYTHONPATH in EFICAS_TOOLS --- 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