From: Serge Rehbinder Date: Tue, 14 Feb 2017 10:52:19 +0000 (+0100) Subject: sat package : Make a list with generated products to for the create_appli.py script X-Git-Tag: 5.0.0a1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=49453c563f9b922003a26360725d85847072f2c2;p=tools%2Fsat.git sat package : Make a list with generated products to for the create_appli.py script --- diff --git a/commands/package.py b/commands/package.py index 361f826..a506fed 100644 --- a/commands/package.py +++ b/commands/package.py @@ -271,12 +271,26 @@ def product_appli_creation_script(config, text_to_add = "" for product_name in get_SALOME_modules(config): product_info = src.product.get_product_config(config, product_name) - if src.product.product_is_SALOME(product_info): - line_to_add = ("") + + if src.product.product_is_smesh_plugin(product_info): + continue + + if 'install_dir' in product_info and bool(product_info.install_dir): + if src.product.product_is_cpp(product_info): + # cpp module + for cpp_name in src.product.get_product_components(product_info): + line_to_add = ("") + else: + # regular module + line_to_add = ("") text_to_add += line_to_add + "\n" filled_text = text_to_fill.replace("TO BE FILLED 2", text_to_add)