From: prascle Date: Sun, 29 Jun 2003 13:17:10 +0000 (+0000) Subject: PR: needed by merge C. CAREMOLI branch CCAR_br1 X-Git-Tag: V1_2_1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=138c9cab7e2491ea12b6ef79231eec49bd4eccbd;p=modules%2Fsmesh.git PR: needed by merge C. CAREMOLI branch CCAR_br1 --- diff --git a/src/SMESH_SWIG/Makefile.in b/src/SMESH_SWIG/Makefile.in index 56a008c03..57c4a479d 100644 --- a/src/SMESH_SWIG/Makefile.in +++ b/src/SMESH_SWIG/Makefile.in @@ -36,6 +36,8 @@ LIB_CLIENT_IDL = SALOMEDS.idl \ SALOME_Component.idl \ MED.idl +EXPORT_SHAREDPYSCRIPTS=SMESH_shared_modules.py + CPPFLAGS+=$(QT_INCLUDES) $(PYTHON_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) -DHAVE_CONFIG_H LIBS+= $(PYTHON_LIBS) LDFLAGS+= -lSMESHGUI diff --git a/src/SMESH_SWIG/SMESH_shared_modules.py b/src/SMESH_SWIG/SMESH_shared_modules.py new file mode 100644 index 000000000..e40362fff --- /dev/null +++ b/src/SMESH_SWIG/SMESH_shared_modules.py @@ -0,0 +1,19 @@ +""" + +""" + +# force SMESH importation at interpretor initialization +# see salome_shared_modules.py +# (avoids incomplete import at run time) + +print "============== import SMESH =======================" + +import SMESH + +# this function is required + +def init_shared_modules(): + """ + This function initializes shared modules that need to be + """ + pass