1 # -*- coding: utf-8 -*-
2 # CONFIGURATION MANAGEMENT OF EDF VERSION
3 # ======================================================================
4 # COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
5 # THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
6 # IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
7 # THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
8 # (AT YOUR OPTION) ANY LATER VERSION.
10 # THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
11 # WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
12 # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
13 # GENERAL PUBLIC LICENSE FOR MORE DETAILS.
15 # YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
16 # ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
17 # 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
20 # ======================================================================
23 # Les variables pouvant positionnees sont :
24 # "CODE_PATH_SURCHARGE","DTDDirectory","rep_user","INSTALLDIR","path_doc","exec_acrobat","rep_cata"
25 print "import des prefs de OPENTURNS_STUDY"
27 code = "OPENTURNS_STUDY"
29 # REPINI sert à localiser le fichier
30 # initialdir sert comme directory initial des QFileDialog
31 # positionnee a repin au debut mise a jour dans configuration
32 REPINI=os.path.dirname(os.path.abspath(__file__))
35 # INSTALLDIR sert à localiser l'installation d'Eficas
36 INSTALLDIR=os.path.join(REPINI,'..')
39 # Codage des strings qui accepte les accents (en remplacement de 'ascii')
40 # lang indique la langue utilisée pour les chaines d'aide : fr ou ang
44 # Acces a la documentation
46 path_doc = os.path.join(rep_cata,'Doc')
47 exec_acrobat = "/usr/bin/xpdf"
50 DTDDirectory="/local00/home/dutka/OpenTURNS/dutka/devel/build/install/share/openturns/wrappers/"
52 # Choix des catalogues
53 sys.path[:0]=[INSTALLDIR]