copyfiles('../Editeur',os.path.join(path_distrib,'Editeur'),['*.py','faqs.txt'])
copyfiles('../InterfaceTK',os.path.join(path_distrib,'InterfaceTK'),['*.py','faqs.txt'])
copyfiles('../InterfaceQT',os.path.join(path_distrib,'InterfaceQT'),['*.py','faqs.txt'])
- copyfiles('../Ui',os.path.join(path_distrib,'Ui'),['*.py'])
- copyfiles('../Ui',os.path.join(path_distrib,'Ui'),['*.ui'])
+ copyfiles('../Ui',os.path.join(path_distrib,'Ui'),['*.ui'],'makefile')
copyfiles('../Openturns',os.path.join(path_distrib,'Openturns'),['*.py','*.ini'])
copyfiles('../Ihm',os.path.join(path_distrib,'Ihm'),['*.py'])
copyfiles('../Extensions',os.path.join(path_distrib,'Extensions'),['*.py'])
copyfiles('../Noyau',os.path.join(path_distrib,'Noyau'),['*.py'])
copyfiles('../Validation',os.path.join(path_distrib,'Validation'),['*.py'])
- copyfiles('../Tools',os.path.join(path_distrib,'Tools'),['*.py'])
- copyfiles('../Tools/foztools',os.path.join(path_distrib,'Tools','foztools'),['*.py'])
- copyfiles('../Pmw',os.path.join(path_distrib,'Pmw'),['*.py'])
- copyfiles('../Pmw/Pmw_1_2',os.path.join(path_distrib,'Pmw','Pmw_1_2'),['*.py'])
- copyfiles('../Pmw/Pmw_1_2/lib',os.path.join(path_distrib,'Pmw','Pmw_1_2','lib'),['*.py','Pmw.def'])
-
tarball= maketarball('dist',nom_distrib,nom_distrib)
try:
print "Repertoire de download inconnu : ",dir_download
- try:
- shutil.copytree(path_TextTools,os.path.join(path_distrib,'Tools','TextTools'))
- except:
- print "Impossible de recuperer mxTextTools : ",dir_download
- sys.exit(1)
-
def make_dir(dir_cible):
if type(dir_cible) is not types.StringType:
+++ /dev/null
-# -*- coding: utf-8 -*-
-import glob,os
-
-copyright="""# CONFIGURATION MANAGEMENT OF EDF VERSION
-# ======================================================================
-# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
-# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
-# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
-# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
-# (AT YOUR OPTION) ANY LATER VERSION.
-#
-# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
-# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
-# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
-# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
-#
-# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
-# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
-# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
-#
-#
-# ======================================================================
-"""
-
-listfich=glob.glob('*')
-for fich in listfich:
- if not os.path.isfile(fich):continue
- print "Lecture ",fich
- f=open(fich,'r')
- text=f.read()
- f.close()
- os.rename(fich,fich+'.bak')
-
- text=copyright + text
-
- f2=open(fich,'w')
- f2.write(text)
- f2.close()
-