From 369407890d8f520c9770311136a42e5f65d1fd33 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 7 Dec 2010 08:40:27 +0000 Subject: [PATCH] *** empty log message *** --- src/MEDCoupling_Swig/Makefile.am | 2 +- src/MEDCoupling_Swig/libMEDCoupling_Swig.py | 28 +++++++++++++++++++++ src/MEDLoader/Swig/Makefile.am | 2 +- src/MEDLoader/Swig/libMEDLoader_Swig.py | 28 +++++++++++++++++++++ 4 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 src/MEDCoupling_Swig/libMEDCoupling_Swig.py create mode 100644 src/MEDLoader/Swig/libMEDLoader_Swig.py diff --git a/src/MEDCoupling_Swig/Makefile.am b/src/MEDCoupling_Swig/Makefile.am index 1673f7065..5770f5c85 100644 --- a/src/MEDCoupling_Swig/Makefile.am +++ b/src/MEDCoupling_Swig/Makefile.am @@ -58,7 +58,7 @@ _MEDCouplingRemapper_la_LDFLAGS = -module $(PYTHON_LIBS) \ CLEANFILES = MEDCouplingWRAP.cxx MEDCoupling.py MEDCouplingRemapperWRAP.cxx MEDCouplingRemapper.py -dist_salomescript_DATA= MEDCouplingBasicsTest.py MEDCouplingRemapperTest.py MEDCoupling.py MEDCouplingRemapper.py MEDCouplingDataForTest.py +dist_salomescript_DATA= MEDCouplingBasicsTest.py MEDCouplingRemapperTest.py MEDCoupling.py MEDCouplingRemapper.py MEDCouplingDataForTest.py libMEDCoupling_Swig.py UNIT_TEST_PROG = MEDCouplingBasicsTest.py MEDCouplingRemapperTest.py diff --git a/src/MEDCoupling_Swig/libMEDCoupling_Swig.py b/src/MEDCoupling_Swig/libMEDCoupling_Swig.py new file mode 100644 index 000000000..5ffbc1e42 --- /dev/null +++ b/src/MEDCoupling_Swig/libMEDCoupling_Swig.py @@ -0,0 +1,28 @@ +# -*- coding: iso-8859-1 -*- +# Copyright (C) 2007-2010 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +print """ +*********************************************************************** +*********************************************************************** +libMEDCoupling_Swig module DEPRECATED ! +Please use instead \"import MEDCoupling\" or \"from MEDCoupling import *\" +*********************************************************************** +*********************************************************************** +""" diff --git a/src/MEDLoader/Swig/Makefile.am b/src/MEDLoader/Swig/Makefile.am index 3be0a1dba..7f0b2bf65 100644 --- a/src/MEDLoader/Swig/Makefile.am +++ b/src/MEDLoader/Swig/Makefile.am @@ -50,6 +50,6 @@ _MEDLoader_la_LDFLAGS = -module $(MED2_LIBS) $(HDF5_LIBS) $(PYTHON_LIBS) \ CLEANFILES = libMEDLoader_Swig_wrap.cxx libMEDLoader_Swig.py -dist_salomescript_DATA= MEDLoader.py MEDLoaderDataForTest.py MEDLoaderTest.py MEDLoaderTest2.py +dist_salomescript_DATA= MEDLoader.py MEDLoaderDataForTest.py MEDLoaderTest.py MEDLoaderTest2.py libMEDLoader_Swig.py UNIT_TEST_PROG = MEDLoaderTest.py MEDLoaderTest2.py \ No newline at end of file diff --git a/src/MEDLoader/Swig/libMEDLoader_Swig.py b/src/MEDLoader/Swig/libMEDLoader_Swig.py new file mode 100644 index 000000000..774e3b44c --- /dev/null +++ b/src/MEDLoader/Swig/libMEDLoader_Swig.py @@ -0,0 +1,28 @@ +# -*- coding: iso-8859-1 -*- +# Copyright (C) 2007-2010 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +print """ +********************************************************************** +********************************************************************** +libMEDLoader_Swig module DEPRECATED ! +Please use instead \"import MEDLoader\" or \"from MEDLoader import *\" +********************************************************************** +********************************************************************** +""" -- 2.39.2