]> SALOME platform Git repositories - tools/eficas.git/blobdiff - Aster/sdist.py
Salome HOME
mise a jour sdist
[tools/eficas.git] / Aster / sdist.py
index 1b22da3e575a83de38047c33e394bdaef64f8a4d..b9960e830cdffc771646aa94768b7515d0938422 100644 (file)
 import os,shutil,glob,sys
 import types
 
-version="$Name:  $"[7:-2] or 'Test1_2'
+version="$Name:  $"[7:-2] or 'Test1_4'
 # ==========Path du noyau fourni par Aster====================
-path_Noyau="../../Accas6.3.0"
+path_Noyau="../../AccasAster"
 # ============================================================
-nom_distrib="Eficas"+version+"AsterSTA6"
+nom_distrib="Eficas"+version+"AsterSTA7"
 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"
@@ -33,14 +33,19 @@ dir_download= "/home/eficas/WWW/telechargement/eficas"
 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('../Misc',os.path.join(path_distrib,'Misc'),['*.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',
                                                             'eficas_aster.py',
@@ -56,12 +61,12 @@ def main():
    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(os.path.join(path_Noyau,'Accas'),os.path.join(path_distrib,'Aster'),['properties.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)