From 43d8b2ed8bf465e8cb6a5f77419f5bdd70b73f70 Mon Sep 17 00:00:00 2001 From: nri Date: Fri, 7 Nov 2003 08:31:16 +0000 Subject: [PATCH] NRI : create VISU_shared_modules.py and use EXPORT_SHAREDPYSCRIPT --- src/VISU_SWIG/Makefile.in | 2 ++ src/VISU_SWIG/VISU_shared_modules.py | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/VISU_SWIG/VISU_shared_modules.py 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 -- 2.39.2