From e6a7f0656349f79f64d09847790f1be9a5091819 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 20 Jun 2006 14:32:17 +0000 Subject: [PATCH] *** empty log message *** --- Aster/sdist.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Aster/sdist.py b/Aster/sdist.py index fc491606..c4786355 100644 --- a/Aster/sdist.py +++ b/Aster/sdist.py @@ -92,12 +92,8 @@ def main(): except: print "Repertoire de download inconnu : ",dir_download - copyfiles('../Aster',os.path.join(path_distrib,'Aster'),['prefs.py.win', - 'editeur.ini.win' - ]) - os.chdir('../Aster') - os.system("mv prefs.py.win prefs.py") - os.system("mv editeur.ini.win editeur.ini") + shutil.copy('prefs.py.win',os.path.join(path_distrib,'Aster','prefs.py')) + shutil.copy('editeur.ini.win',os.path.join(path_distrib,'Aster','editeur.ini')) try: shutil.copytree(path_TextTools,os.path.join(path_distrib,'Tools','TextTools')) -- 2.39.2