]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
NRI : Force import GEOM.
authornri <nri@opencascade.com>
Wed, 16 Jul 2003 07:57:24 +0000 (07:57 +0000)
committernri <nri@opencascade.com>
Wed, 16 Jul 2003 07:57:24 +0000 (07:57 +0000)
src/GEOM_SWIG/GEOM_shared_modules.py [new file with mode: 0644]
src/GEOM_SWIG/Makefile.in

diff --git a/src/GEOM_SWIG/GEOM_shared_modules.py b/src/GEOM_SWIG/GEOM_shared_modules.py
new file mode 100644 (file)
index 0000000..bd994fa
--- /dev/null
@@ -0,0 +1,19 @@
+"""
+
+"""
+
+# force GEOM importation at interpretor initialization
+# see salome_shared_modules.py
+# (avoids incomplete import at run time)
+
+print "============== import GEOM ======================="
+
+import GEOM
+
+# this function is required
+
+def init_shared_modules():
+   """
+      This function initializes shared modules that need to be
+   """
+   pass
index 412bb23b141b814841143eb6e7967945b82f0536..c6a8999a385a3dd90793b0100e3128f8e16f8204 100644 (file)
@@ -51,7 +51,8 @@ EXPORT_PYSCRIPTS = libGEOM_Swig.py geompy.py batchmode_geompy.py \
                 GEOM_Partition2.py \
                 GEOM_Partition3.py \
                 GEOM_Partition4.py \
-                GEOM_Partition5.py
+                GEOM_Partition5.py \
+                GEOM_shared_modules.py
 
 LIB_CLIENT_IDL = SALOMEDS.idl \
                  SALOMEDS_Attributes.idl \