From: nri Date: Fri, 7 Nov 2003 08:31:16 +0000 (+0000) Subject: NRI : create VISU_shared_modules.py and use EXPORT_SHAREDPYSCRIPT X-Git-Tag: V1_3_0_b2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=43d8b2ed8bf465e8cb6a5f77419f5bdd70b73f70;p=modules%2Fvisu.git NRI : create VISU_shared_modules.py and use EXPORT_SHAREDPYSCRIPT --- diff --git a/src/VISU_SWIG/Makefile.in b/src/VISU_SWIG/Makefile.in index 85f7c17d..b81b2a87 100644 --- a/src/VISU_SWIG/Makefile.in +++ b/src/VISU_SWIG/Makefile.in @@ -46,6 +46,8 @@ EXPORT_PYSCRIPTS = libVISU_Swig.py batchmode_visu.py batchmode_visu_table.py bat visu_table.py visu_big_table.py visu_view.py \ visu_swig_test.py +EXPORT_SHAREDPYSCRIPTS = VISU_shared_modules.py + LIB_CLIENT_IDL = CPPFLAGS += -ftemplate-depth-32 $(PYTHON_INCLUDES) $(QT_INCLUDES) \ diff --git a/src/VISU_SWIG/VISU_shared_modules.py b/src/VISU_SWIG/VISU_shared_modules.py new file mode 100644 index 00000000..afd4231f --- /dev/null +++ b/src/VISU_SWIG/VISU_shared_modules.py @@ -0,0 +1,19 @@ +""" + +""" + +# force VISU importation at interpretor initialization +# see salome_shared_modules.py +# (avoids incomplete import at run time) + +print "============== import VISU =======================" + +import VISU + +# this function is required + +def init_shared_modules(): + """ + This function initializes shared modules that need to be + """ + pass