From dce27e7c245a9a02e498bd2631eff08121acdc11 Mon Sep 17 00:00:00 2001 From: SRE Date: Fri, 19 May 2017 15:39:14 +0200 Subject: [PATCH] Update the PythonComponent template. --- data/templates/PythonComponent/template.info | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/data/templates/PythonComponent/template.info b/data/templates/PythonComponent/template.info index dc48560..9d7e86a 100644 --- a/data/templates/PythonComponent/template.info +++ b/data/templates/PythonComponent/template.info @@ -40,8 +40,8 @@ pyconf = """ { name : "%(NAME)s" has_gui : "yes" - get_sources : '%(get_method)s' - build_sources : 'autotools' + get_source : '%(get_method)s' + build_source : 'autotools' git_info: { repo : 'to be filled' @@ -52,9 +52,16 @@ pyconf = """ archive_name : '%(NAME)s.tar.gz' } nb_proc : 1 - source_dir : $TOOLS.common.source_root + '/' + $name - build_dir : $TOOLS.common.build_root + '/' + $name + source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name + build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name depend : [ 'Python', 'KERNEL', 'GUI' ] opt_depend : [] + type : "salome" + properties : + { + is_SALOME_module : 'yes' + has_unit_tests : True + has_salome_gui : 'yes' + } } """ -- 2.39.2