From: eficas <> Date: Mon, 6 Jun 2005 17:55:24 +0000 (+0000) Subject: CCAR: ajout du repertoire Utilitai dans Cata X-Git-Tag: CC_param_poursuite~116 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f94b5075526acc0062b039935bcfd0362d48756d;p=tools%2Feficas.git CCAR: ajout du repertoire Utilitai dans Cata ajout du catalogue V6 dans editeur.ini --- diff --git a/Aster/alphasdist.py b/Aster/alphasdist.py index 797380ce..8618f842 100644 --- a/Aster/alphasdist.py +++ b/Aster/alphasdist.py @@ -43,6 +43,7 @@ def main(): copyfiles('../Misc',os.path.join(path_distrib,'Misc'),['*.py']) copyfiles('../Accas',os.path.join(path_distrib,'Accas'),['*.py']) copyfiles('Cata/Macro',os.path.join(path_distrib,'Aster','Cata','Macro'),['*.py']) + copyfiles('Cata/Utilitai',os.path.join(path_distrib,'Aster','Cata','Utilitai'),['*.py']) copyfiles('Cata/pre74',os.path.join(path_distrib,'Aster','Cata','pre74'),['*.py']) copyfiles('Cata/cataSTA5',os.path.join(path_distrib,'Aster','Cata','cataSTA5'),['*.py']) copyfiles('Cata/cataSTA6',os.path.join(path_distrib,'Aster','Cata','cataSTA6'),['*.py']) @@ -109,7 +110,7 @@ def copyfiles(dir_origin,dir_cible,listfiles): if not os.path.isdir(dir_cible):make_dir(dir_cible) for glob_files in listfiles: for file in glob.glob(os.path.join(dir_origin,glob_files)): - shutil.copy(file,dir_cible) + if os.path.isfile(file):shutil.copy(file,dir_cible) def maketarball(dir_trav,dir_cible,nom_tar): prev=os.getcwd() diff --git a/Aster/editeur.ini b/Aster/editeur.ini index 2e145f15..bcb8e43f 100644 --- a/Aster/editeur.ini +++ b/Aster/editeur.ini @@ -42,9 +42,9 @@ rep_mat="materiau" catalogues = ( #('ASTER','v5',os.path.join(rep_cata,'cataSTA5'),'asterv5'), - #('ASTER','v6',os.path.join(rep_cata,'cataSTA6'),'python6'), + ('ASTER','v6',os.path.join(rep_cata,'cataSTA6'),'python6'), #('ASTER','v73',os.path.join(rep_cata,'cataSTA73'),'python','defaut'), - ('ASTER','v74',os.path.join(rep_cata,'cataSTA74'),'python','defaut'), + ('ASTER','v74',os.path.join(rep_cata,'cataSTA74'),'python'), ('ASTER','v8',os.path.join(rep_cata,'cata_STA8.py'),'python','defaut'), )