From: crouzet Date: Wed, 8 Aug 2018 09:34:03 +0000 (+0200) Subject: passage du launcher de l'archive à python3 X-Git-Tag: V9_1_0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=30a5ec2cb121a1b9bad52933938299b751b2b225;p=tools%2Fsat.git passage du launcher de l'archive à python3 --- diff --git a/commands/package.py b/commands/package.py index 085ab36..ce8271f 100644 --- a/commands/package.py +++ b/commands/package.py @@ -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'",