From: nri Date: Wed, 16 Jul 2003 07:57:24 +0000 (+0000) Subject: NRI : Force import GEOM. X-Git-Tag: ihm_1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ee49307ec13fbd93f8c81968706c68044f0a10a1;p=modules%2Fgeom.git NRI : Force import GEOM. --- diff --git a/src/GEOM_SWIG/GEOM_shared_modules.py b/src/GEOM_SWIG/GEOM_shared_modules.py new file mode 100644 index 000000000..bd994fadc --- /dev/null +++ b/src/GEOM_SWIG/GEOM_shared_modules.py @@ -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 diff --git a/src/GEOM_SWIG/Makefile.in b/src/GEOM_SWIG/Makefile.in index 412bb23b1..c6a8999a3 100644 --- a/src/GEOM_SWIG/Makefile.in +++ b/src/GEOM_SWIG/Makefile.in @@ -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 \