]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
sat package : Make a list with generated products to for the create_appli.py script
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 14 Feb 2017 09:27:11 +0000 (10:27 +0100)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 14 Feb 2017 09:27:11 +0000 (10:27 +0100)
commands/package.py

index bfc9a46961bde9b1f32765c124a8f5aa0d1bc80d..361f82602654e52925322b44efdac42d5595bcf8 100644 (file)
@@ -24,6 +24,8 @@ import tarfile
 
 import src
 
+from application import get_SALOME_modules
+
 BINARY = "binary"
 SOURCE = "Source"
 PROJECT = "Project"
@@ -267,7 +269,7 @@ def product_appli_creation_script(config,
                                         '"' + binaries_dir_name + '"')
     
     text_to_add = ""
-    for product_name in config.APPLICATION.products:
+    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 = ("<module name=\"" +