]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PR: needed by merge C. CAREMOLI branch CCAR_br1
authorprascle <prascle>
Sun, 29 Jun 2003 13:17:10 +0000 (13:17 +0000)
committerprascle <prascle>
Sun, 29 Jun 2003 13:17:10 +0000 (13:17 +0000)
src/SMESH_SWIG/Makefile.in
src/SMESH_SWIG/SMESH_shared_modules.py [new file with mode: 0644]

index 56a008c0367ac0f16b94da0c0632a268cd7241ce..57c4a479d60c9afa0e738529b03a707c92b4a676 100644 (file)
@@ -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 (file)
index 0000000..e40362f
--- /dev/null
@@ -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