Salome HOME
Updating copyright date information
[modules/adao.git] / bin / qtEficas_adao_study.py.in
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 # Copyright (C) 2010-2014 EDF R&D
4 #
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License.
9 #
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 #
19 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #
21 # Author: AndrĂ© Ribes, andre.ribes@edf.fr, EDF R&D
22
23 """
24    Ce module sert a lancer EFICAS pour Adao
25 """
26
27 import sys
28 # Configuration de l'installation
29 INSTALLDIR = "@EFICAS_DIR@"
30 sys.path.insert(0,INSTALLDIR)
31 ADAO_INSTALL_DIR = "@PYTHON_SITE@/salome/daEficas"
32 sys.path.insert(0,ADAO_INSTALL_DIR)
33
34 # Configuration
35 import prefs
36 import prefs_ADAO
37
38 # Modules Eficas
39 from InterfaceQT4 import eficas_go
40 eficas_go.lance_eficas(code=prefs.code)