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 \