From: crouzet Date: Wed, 20 Jan 2021 09:01:55 +0000 (+0100) Subject: gestion de l'environnement incrémental avec un script python (contournement pb instal... X-Git-Tag: V9_7_0~148 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c96984e2a064020ce89894716817104c2a598549;p=tools%2Fsat_salome.git gestion de l'environnement incrémental avec un script python (contournement pb install_dir) --- diff --git a/products/HOMARD.pyconf b/products/HOMARD.pyconf index 1767a50..3ff8dc0 100644 --- a/products/HOMARD.pyconf +++ b/products/HOMARD.pyconf @@ -31,7 +31,7 @@ version_8_5_0_to_V9_6_0 : { environ : { - SalomeAppConfig_ : $install_dir + $VARS.sep + "share" + $VARS.sep + "salome" + $VARS.sep + "resources" + $VARS.sep + "homard" + env_script : "HOMARD.py" } depend : ["SMESH","homard_bin"] } diff --git a/products/env_scripts/HOMARD.py b/products/env_scripts/HOMARD.py new file mode 100644 index 0000000..891edeb --- /dev/null +++ b/products/env_scripts/HOMARD.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +#-*- coding:utf-8 -*- + +import os + +def set_env(env, product_dir, version): + env.append('SalomeAppConfig', os.path.join(product_dir, 'share', 'salome', 'resources', 'homard')) + +def set_nativ_env(env): + pass