version="$Name: $"[7:-2] or 'Test1_2'
# ==========Path du noyau fourni par Aster====================
-path_Noyau="../../Accas6.3.0"
+path_Noyau="../../AccasAster"
# ============================================================
nom_distrib="Eficas"+version+"AsterSTA6"
path_distrib=os.path.join("dist",nom_distrib)
def main():
if os.path.isdir('dist'):shutil.rmtree('dist')
- copyfiles('.',path_distrib,['README','LICENSE.TERMS','INSTALL'])
+ copyfiles('.',path_distrib,['LICENSE.TERMS','INSTALL','NEWS'])
copyfiles('../Editeur',os.path.join(path_distrib,'Editeur'),['*.py','faqs.txt'])
copyfiles('../Ihm',os.path.join(path_distrib,'Ihm'),['*.py'])
copyfiles('../Extensions',os.path.join(path_distrib,'Extensions'),['*.py'])
copyfiles('../Accas',os.path.join(path_distrib,'Accas'),['*.py'])
+ # AIDE
copyfiles('../AIDE',os.path.join(path_distrib,'AIDE'),['*.py'])
- copyfiles('../AIDE/fichiers',os.path.join(path_distrib,'AIDE/fichiers'),['*'])
+ copyfiles('../AIDE/fichiers',os.path.join(path_distrib,'AIDE','fichiers'),['*'])
+ copyfiles('.',os.path.join(path_distrib,'AIDE','fichiers'),['INSTALL','NEWS'])
+ copyfiles('../Editeur',os.path.join(path_distrib,'AIDE','fichiers'),['faqs.txt'])
+ # Code_Aster
copyfiles('../Aster',os.path.join(path_distrib,'Aster'),['prefs.py',
'editeur.ini',
+ 'properties.py',
'eficas_aster.py',
])
copyfiles('../convert',os.path.join(path_distrib,'convert'),['*.py'])
copyfiles(os.path.join(path_Noyau,'Validation'),os.path.join(path_distrib,'Validation'),['*.py'])
copyfiles(os.path.join(path_Noyau,'Cata'),os.path.join(path_distrib,'Aster','Cata'),['*.py',
])
+ copyfiles(os.path.join(path_Noyau,'Macro'),os.path.join(path_distrib,'Aster','Cata','Macro'),['*.py'])
copyfiles('../Tools',os.path.join(path_distrib,'Tools'),['*.py'])
copyfiles('../Tools/foztools',os.path.join(path_distrib,'Tools','foztools'),['*.py'])
- copyfiles('../Installation',path_distrib,['README_install','install.py'])
-
tarball= maketarball('dist',nom_distrib,nom_distrib)
try:
shutil.copy(tarball,dir_download)