Salome HOME
NRI : Add SuperVisionTest module into shared_modules.
authornri <nri@opencascade.com>
Wed, 26 Nov 2003 10:18:52 +0000 (10:18 +0000)
committernri <nri@opencascade.com>
Wed, 26 Nov 2003 10:18:52 +0000 (10:18 +0000)
src/SyrComponent/COMPONENT_shared_modules.py [new file with mode: 0644]
src/SyrComponent/Makefile.in

diff --git a/src/SyrComponent/COMPONENT_shared_modules.py b/src/SyrComponent/COMPONENT_shared_modules.py
new file mode 100644 (file)
index 0000000..1dad963
--- /dev/null
@@ -0,0 +1,19 @@
+"""
+
+"""
+
+# force COMPONENT importation at interpretor initialization
+# see salome_shared_modules.py
+# (avoids incomplete import at run time)
+
+print "============== import SuperVisionTest ======================="
+
+import SuperVisionTest
+
+# this function is required
+
+def init_shared_modules():
+   """
+      This function initializes shared modules that need to be
+   """
+   pass
index 9a9d84cc7d072dab49817305acf9dbaa49747d51..1ccec7198e623af86b0c5d1079580fd9cb4a1000 100755 (executable)
@@ -34,6 +34,8 @@ VPATH=.:@srcdir@:@top_srcdir@/idl
 
 @COMMENCE@
 
+EXPORT_SHAREDPYSCRIPTS= COMPONENT_shared_modules.py
+
 EXPORT_HEADERS =  \
        SyrComponent_Impl.hxx