X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FKERNEL_PY%2Fsalome.py;h=8fca332b5a55680a108dcdd6ff059a56e77dd617;hb=cbeb1b9ad4789b0fe4ea7f8efcaf98f7f8fec2f6;hp=f6afea4d1dd598714cc48e8ab8c0d8c67c55a1a8;hpb=33f7c9859096747d0a6ac16849e3e9d274d43dc3;p=modules%2Fkernel.git diff --git a/src/KERNEL_PY/salome.py b/src/KERNEL_PY/salome.py index f6afea4d1..8fca332b5 100755 --- a/src/KERNEL_PY/salome.py +++ b/src/KERNEL_PY/salome.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE # # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -20,6 +20,15 @@ # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # + +# ================================================================================ +# WARNING: this file is deprecated and should not be used any more. It has been +# replaced by the file __init__.py of the python package named "salome". +# To prevent any error, a warning is raised in the case where this file is imported +raise RuntimeError("WRN - the file salome.py is deprecated. It should NOT be used any more.") +# ================================================================================ + + # File : salome.py # Author : Paul RASCLE, EDF # Module : SALOME @@ -81,7 +90,7 @@ variables: # \param salome.myStudyId : active Study Id # \param salome.myStudy : the active Study (interface SALOMEDS::Study) - +# from salome_kernel import * from salome_study import * from salome_iapp import *