]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
passage du launcher de l'archive à python3
authorcrouzet <nicolas.crouzet@cea.fr>
Wed, 8 Aug 2018 09:34:03 +0000 (11:34 +0200)
committercrouzet <nicolas.crouzet@cea.fr>
Wed, 8 Aug 2018 09:34:03 +0000 (11:34 +0200)
commands/package.py

index 085ab36c0f519bc678d050cf92935641aa5c0d5b..ce8271fbd60ba5c87ffdae40625f4c667edf5f6c 100644 (file)
@@ -212,7 +212,10 @@ def produce_relative_launcher(config,
         app_root_dir=os.path.join(binaries_dir_name, salome_application_name)
 
     # Get the launcher template and do substitutions
-    withProfile = src.fileEnviron.withProfile
+    if "python3" in config.APPLICATION and config.APPLICATION.python3 == "yes":
+        withProfile = src.fileEnviron.withProfile3
+    else:
+        withProfile = src.fileEnviron.withProfile
 
     withProfile = withProfile.replace(
         "ABSOLUTE_APPLI_PATH'] = 'KERNEL_INSTALL_DIR'",