From 4d0ebd22172dae3f8fa27f72372408fdd18db5b0 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 29 Aug 2018 16:32:07 +0200 Subject: [PATCH] MEDCoupling python module is expected to be replaced by medcoupling python module --- src/MEDCoupling_Swig/MEDCoupling.i | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/MEDCoupling_Swig/MEDCoupling.i b/src/MEDCoupling_Swig/MEDCoupling.i index 17dc3516f..6f84bb74c 100644 --- a/src/MEDCoupling_Swig/MEDCoupling.i +++ b/src/MEDCoupling_Swig/MEDCoupling.i @@ -118,3 +118,13 @@ def MEDCouplingDenseMatrixIsub(self,*args): %} %include "MEDCouplingFinalize.i" + +%pythoncode %{ +print("""************************************************************************************************** +"MEDCoupling" python module as been replaced by "medcoupling" for Salome9. + +"MEDCoupling" python module is still here for backwards compatibility reason but it is deprecated. + +Please replace "MEDCoupling" by "medcoupling" in you import line right now to remove this message. +**************************************************************************************************""") +%} -- 2.39.2