From e7b1bc4d2e71df8d99fe675d0d51ee4c5da94997 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 12 Jun 2007 09:05:39 +0000 Subject: [PATCH] *** empty log message *** --- Aster/Cata/cataSTA7/__init__.py | 3 +++ Aster/Cata/cataSTA8/__init__.py | 3 +++ Aster/Cata/cataSTA9/__init__.py | 2 ++ Aster/sdist.py | 4 ++-- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Aster/Cata/cataSTA7/__init__.py b/Aster/Cata/cataSTA7/__init__.py index 273d7115..118185c9 100644 --- a/Aster/Cata/cataSTA7/__init__.py +++ b/Aster/Cata/cataSTA7/__init__.py @@ -2,6 +2,9 @@ import os,sys sys.modules["Cata"]=sys.modules[__name__] rep_macro = os.path.dirname(__file__) sys.path.insert(0,rep_macro) +rep_macro=os.path.join(rep_macro,'Macro') +sys.path.insert(0,rep_macro) + #compatibilite avec V9 import Noyau diff --git a/Aster/Cata/cataSTA8/__init__.py b/Aster/Cata/cataSTA8/__init__.py index 85c50896..da728a1c 100644 --- a/Aster/Cata/cataSTA8/__init__.py +++ b/Aster/Cata/cataSTA8/__init__.py @@ -2,6 +2,9 @@ import os,sys sys.modules["Cata"]=sys.modules[__name__] rep_macro = os.path.dirname(__file__) sys.path.insert(0,rep_macro) +rep_macro=os.path.join(rep_macro,'Macro') +sys.path.insert(0,rep_macro) + #compatibilite avec V9 import Noyau diff --git a/Aster/Cata/cataSTA9/__init__.py b/Aster/Cata/cataSTA9/__init__.py index ea9a6f6b..f6816918 100644 --- a/Aster/Cata/cataSTA9/__init__.py +++ b/Aster/Cata/cataSTA9/__init__.py @@ -2,6 +2,8 @@ import os,sys sys.modules["Cata"]=sys.modules[__name__] rep_macro = os.path.dirname(__file__) sys.path.insert(0,rep_macro) +rep_macro=os.path.join(rep_macro,'Macro') +sys.path.insert(0,rep_macro) from cata import * from math import ceil diff --git a/Aster/sdist.py b/Aster/sdist.py index af1cf5cf..798d24fd 100644 --- a/Aster/sdist.py +++ b/Aster/sdist.py @@ -26,7 +26,7 @@ version="$Name: $"[7:-2] or 'Test1_4' # ==========Path du noyau fourni par Aster==================== path_Noyau="../../AccasAster" # ============================================================ -nom_distrib="Eficas"+version+"AsterSTA8" +nom_distrib="Eficas"+version+"AsterSTA9" path_distrib=os.path.join("dist",nom_distrib) path_TextTools="/home/eficas/pkg/mxTools/egenix2.0.2pourWindows/mx/TextTools" dir_download= "/home/eficas/WWW/telechargement/eficas" @@ -56,7 +56,7 @@ def main(): ]) # Les Catalogues, Macros, Materiaux et SD - #copyfiles('Cata/Utilitai',os.path.join(path_distrib,'Aster','Cata','Utilitai'),['*.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/cataSTA6',os.path.join(path_distrib,'Aster','Cata','cataSTA6'),['*.py']) -- 2.39.2