NRI : Force import GEOM.

This commit is contained in:
nri 2003-07-16 07:57:24 +00:00
parent 8c413d0894
commit ee49307ec1
2 changed files with 21 additions and 1 deletions

View File

@ -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

View File

@ -51,7 +51,8 @@ EXPORT_PYSCRIPTS = libGEOM_Swig.py geompy.py batchmode_geompy.py \
GEOM_Partition2.py \ GEOM_Partition2.py \
GEOM_Partition3.py \ GEOM_Partition3.py \
GEOM_Partition4.py \ GEOM_Partition4.py \
GEOM_Partition5.py GEOM_Partition5.py \
GEOM_shared_modules.py
LIB_CLIENT_IDL = SALOMEDS.idl \ LIB_CLIENT_IDL = SALOMEDS.idl \
SALOMEDS_Attributes.idl \ SALOMEDS_Attributes.idl \