]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
remove the packaging script from kernel
authorDUC ANH HOANG <duc-anh-externe.hoang@edf.fr>
Tue, 18 Apr 2023 12:42:53 +0000 (14:42 +0200)
committerDUC ANH HOANG <duc-anh-externe.hoang@edf.fr>
Tue, 18 Apr 2023 12:42:53 +0000 (14:42 +0200)
18 files changed:
bin/SalomeOnDemandTK/3dparty.salomexb [deleted file]
bin/SalomeOnDemandTK/3dparty.salomexd [deleted file]
bin/SalomeOnDemandTK/3dparty_env.py [deleted file]
bin/SalomeOnDemandTK/Atomic.salomexb [deleted file]
bin/SalomeOnDemandTK/Atomic.salomexd [deleted file]
bin/SalomeOnDemandTK/Atomic_env.py [deleted file]
bin/SalomeOnDemandTK/Base.salomexb [deleted file]
bin/SalomeOnDemandTK/Base.salomexd [deleted file]
bin/SalomeOnDemandTK/Base_env.py [deleted file]
bin/SalomeOnDemandTK/GEOM.salomexb [deleted file]
bin/SalomeOnDemandTK/GEOM.salomexd [deleted file]
bin/SalomeOnDemandTK/GEOM_env.py [deleted file]
bin/SalomeOnDemandTK/PYHELLO.salomexb [deleted file]
bin/SalomeOnDemandTK/PYHELLO.salomexd [deleted file]
bin/SalomeOnDemandTK/PYHELLO_env.py [deleted file]
bin/SalomeOnDemandTK/SMESH_and_plugins.salomexb [deleted file]
bin/SalomeOnDemandTK/SMESH_and_plugins.salomexd [deleted file]
bin/SalomeOnDemandTK/SMESH_and_plugins_env.py [deleted file]

diff --git a/bin/SalomeOnDemandTK/3dparty.salomexb b/bin/SalomeOnDemandTK/3dparty.salomexb
deleted file mode 100644 (file)
index 7525e5d..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-Python/bin
-Python/lib
-Python/share
-gcc/bin
-gcc/lib
-gcc/lib64
-gcc/libexec
-gcc/share
-lapack/lib
-openmpi/bin
-openmpi/lib
-hdf5/bin
-hdf5/lib
-cgns/bin
-cgns/lib
-tbb/lib
-nlopt/lib
-libxml2/bin
-libxml2/lib
-netcdf/bin
-netcdf/lib
-gdal/bin
-gdal/lib
-gdal/share
-boost/lib
-omniORB/bin
-omniORB/lib
-cppunit/bin
-cppunit/lib
-LIBBATCH/lib
-freetype/bin
-freetype/lib
-qt/plugins
-qt/bin
-qt/lib
-sip/bin
-sip/lib
-PyQt/bin
-PyQt/lib
-PyQt/sip
-freeimage/bin
-freeimage/lib
-CAS/bin
-CAS/lib
-CAS/share
-qwt/lib
-matplotlib/lib
-embree/lib
-rkCommon/lib
-openVKL/lib
-ospray/lib
-cminpack/bin
-cminpack/lib
-cminpack/share
-FMILibrary/bin
-FMILibrary/lib
-PyFMI/lib
-openturns/bin
-openturns/lib
-catalyst/lib
-ParaView/bin
-ParaView/lib
-graphviz/bin
-graphviz/lib
-pmml/bin
-pmml/lib
-opencv/bin
-opencv/lib
-tcl/bin
-tcl/lib
-planegcs/lib
-medfile/bin
-medfile/lib
-metis/bin
-metis/lib
-metis/bin
-petsc/lib
-TTK/bin
-TTK/lib
-C3PO/bin
-C3PO/lib
-root/bin
-root/lib
-zeromq/bin
-zeromq/lib
\ No newline at end of file
diff --git a/bin/SalomeOnDemandTK/3dparty.salomexd b/bin/SalomeOnDemandTK/3dparty.salomexd
deleted file mode 100644 (file)
index d5ede7b..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-    "name": "3dparty",
-    "descr": "SALOME extension",
-    "depends_on": [],
-    "author": "SALOME Team",
-    "components": [ "Python", "gcc", "lapack", "openmpi", "hdf5", "cgns", "tbb", "nlopt", "libxml2", "netcdf", "gdal", "boost", "omniORB", "cppunit", "LIBBATCH", "freetype", "qt", "sip", "PyQt", "freeimage", "CAS", "qwt", "matplotlib", "embree", "rkCommon", "openVKL", "ospray", "cminpack", "FMILibrary", "PyFMI", "openturns", "catalyst", "ParaView", "graphviz", "pmml", "opencv", "tcl", "planegcs", "medfile", "metis", "petsc", "TTK", "C3PO", "root", "zeromq" ]
-}
-
diff --git a/bin/SalomeOnDemandTK/3dparty_env.py b/bin/SalomeOnDemandTK/3dparty_env.py
deleted file mode 100644 (file)
index 161fc9b..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-
-#!/usr/bin/env python3
-# -*- coding:utf-8 -*-
-
-"""
-SALOME application environment.
-"""
-
-import os
-import sys
-from SalomeOnDemandTK.extension_query import ext_info_dict
-
-
-def init(context, ext_root_dir):
-    """
-    Set an environment for SALOME app.
-
-    Args:
-        context - an SalomeContext object.
-        ext_root_dir - a path to __SALOME_EXT__ directory.
-
-    Returns:
-        None.
-    """
-
-    BINDIR = os.path.join(ext_root_dir, 'bin')
-    LIBDIR = os.path.join(ext_root_dir, 'lib')
-    python_version = '{}.{}'.format(sys.version_info[0], sys.version_info[1])
-    python_libdir = os.path.join('lib', 'python' + python_version, 'site-packages')
-
-    reinitialise_paths = True
-
-    #[SALOME_COMMON]
-
-    out_dir_Path=os.path.dirname(os.path.realpath(__file__))
-
-    # Seting SALOME modules environment
-    modules = ext_info_dict(out_dir_Path)
-    for module in modules:
-        print
-        for component in modules[module][2].split(', '):
-            context.setVariable('%s_ROOT_DIR'%component, ext_root_dir, overwrite=True)
-    # Seting SALOME prerequis and tools environment
-    context.addToPath(BINDIR)
-    context.addToLdLibraryPath(LIBDIR)
-    context.addToPythonPath(BINDIR)
-    context.addToPythonPath(LIBDIR)
-    context.addToPythonPath(os.path.join(ext_root_dir, python_libdir))
-    context.addToPythonPath(os.path.join(ext_root_dir, 'lib', 'python' + python_version))
-
-    #[Python]
-    context.setVariable(r"PYTHON_VERSION", python_version, overwrite=True)
-    context.addToPath(ext_root_dir)
-    context.setVariable(r"PYTHONBIN", os.path.join(BINDIR,'python3'), overwrite=True)
-    
-    #[gcc]
-    context.addToLdLibraryPath(os.path.join(ext_root_dir, 'lib64'))
-
-    #[openmpi]
-    context.setVariable(r"MPIEXEC_EXECUTABLE", os.path.join(BINDIR, 'mpiexec'), overwrite=True)
-    context.addToPath(os.path.join(ext_root_dir,'include'))
-
-    #[qt]
-    context.setVariable(r"QTDIR", ext_root_dir, overwrite=True)
-    context.setVariable(r"QT5_ROOT_DIR", ext_root_dir, overwrite=True)
-    context.setVariable(r"QT_PLUGIN_PATH", os.path.join(ext_root_dir,'plugins'), overwrite=True)
-    context.setVariable(r"QT_QPA_PLATFORM_PLUGIN_PATH", os.path.join(ext_root_dir,'plugins'), overwrite=True)
-
-    #[PyQt]
-    context.addToPythonPath(os.path.join(ext_root_dir, 'sip',python_libdir))
-
-    #[CAS]
-    context.setVariable(r"CSF_ShadersDirectory", os.path.join( ext_root_dir, 'share/opencascade/resources/Shaders'), overwrite=True)
-    context.setVariable(r"CSF_UnitsLexicon", os.path.join( ext_root_dir, 'share/opencascade/resources/UnitsAPI/Lexi_Expr.dat'), overwrite=True)
-    context.setVariable(r"CSF_UnitsDefinition", os.path.join( ext_root_dir, 'share/opencascade/resources/UnitsAPI/Units.dat'), overwrite=True)
-    context.setVariable(r"CSF_SHMessage", os.path.join( ext_root_dir, 'share/opencascade/resources/SHMessage'), overwrite=True)
-    context.setVariable(r"CSF_XSMessage", os.path.join( ext_root_dir, 'share/opencascade/resources/XSMessage'), overwrite=True)
-    context.setVariable(r"CSF_MDTVTexturesDirectory", os.path.join( ext_root_dir, 'share/opencascade/resources/Textures'), overwrite=True)
-    context.setVariable(r"MMGT_REENTRANT", r"1", overwrite=True)
-    context.setVariable(r"CSF_StandardDefaults", os.path.join( ext_root_dir, 'share/opencascade/resources/StdResource'), overwrite=True)
-    context.setVariable(r"CSF_PluginDefaults", os.path.join( ext_root_dir, 'share/opencascade/resources/StdResource'), overwrite=True)
-    context.addToPath(ext_root_dir)
-
-    #[ParaView]
-    context.setVariable(r"PV_PLUGIN_PATH", os.path.join(LIBDIR,'paraview-5.11'), overwrite=True)
-    context.addToVariable(r"PV_PLUGIN_PATH", os.path.join(LIBDIR,'paraview-5.11','plugins'),separator=":")
-    context.addToPythonPath(os.path.join(LIBDIR,'paraview-5.11', 'site-packages'))
-    context.addToPythonPath(os.path.join(LIBDIR,'paraview-5.11', 'site-packages', 'vtk'))
-    context.addToPath(os.path.join(ext_root_dir,'include', 'paraview-5.11'))
-    context.addToLdLibraryPath(os.path.join(LIBDIR,'paraview-5.11'))
-    context.addToPythonPath(os.path.join(LIBDIR,'paraview-5.11'))
-    context.addToPythonPath(python_libdir)
\ No newline at end of file
diff --git a/bin/SalomeOnDemandTK/Atomic.salomexb b/bin/SalomeOnDemandTK/Atomic.salomexb
deleted file mode 100644 (file)
index 6a6adf9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ATOMIC/bin
-ATOMIC/lib
-ATOMIC/share
diff --git a/bin/SalomeOnDemandTK/Atomic.salomexd b/bin/SalomeOnDemandTK/Atomic.salomexd
deleted file mode 100644 (file)
index b788143..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-    "name": "Atomic",
-    "descr": "SALOME extension",
-    "depends_on": ["Base"],
-    "author": "SALOME Team",
-    "components": ["ATOMIC"]
-}
diff --git a/bin/SalomeOnDemandTK/Atomic_env.py b/bin/SalomeOnDemandTK/Atomic_env.py
deleted file mode 100644 (file)
index 9a9d2da..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding:utf-8 -*-
-
-"""
-Add a custom environment to the SALOME extension.
-"""
-
-import os
-
-
-def init(context, root_dir):
-    """
-    Set an environment for an extension on start of SALOME app.
-
-    Args:
-        context - an SalomeContext object.
-        root_dir - a path to __SALOME_EXT__ directory.
-
-    Returns:
-        None.
-    """
-
-    #[ATOMIC]
-    atomic_root_dir = os.path.join(root_dir, 'ATOMIC')
-    context.setVariable('ATOMIC_ROOT_DIR', atomic_root_dir, overwrite=True)
-    context.addToPath(os.path.join(atomic_root_dir, 'bin', 'salome'))
-    context.addToLdLibraryPath(os.path.join(atomic_root_dir, 'lib', 'salome'))
-    context.addToVariable('SALOME_MODULES', 'ATOMIC', separator=',')
-
-    atomic_res_dir = os.path.join(atomic_root_dir, 'share', 'salome', 'resources', 'atomic')
-    context.addToVariable('SalomeAppConfig', atomic_res_dir, separator=os.pathsep)
diff --git a/bin/SalomeOnDemandTK/Base.salomexb b/bin/SalomeOnDemandTK/Base.salomexb
deleted file mode 100644 (file)
index 0eed8bb..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-KERNEL/bin
-KERNEL/lib
-KERNEL/share
-GUI/bin
-GUI/lib
-GUI/share
diff --git a/bin/SalomeOnDemandTK/Base.salomexd b/bin/SalomeOnDemandTK/Base.salomexd
deleted file mode 100644 (file)
index f16f6c3..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-    "name": "Base",
-    "descr": "SALOME extension",
-    "depends_on": [],
-    "author": "SALOME Team",
-    "components": ["KERNEL", "GUI"]
-}
diff --git a/bin/SalomeOnDemandTK/Base_env.py b/bin/SalomeOnDemandTK/Base_env.py
deleted file mode 100644 (file)
index dda72b7..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-
-#!/usr/bin/env python3
-# -*- coding:utf-8 -*-
-
-"""
-SALOME application environment.
-"""
-
-import os
-import sys
-from SalomeOnDemandTK.extension_query import ext_info_dict
-
-
-def init(context, ext_root_dir):
-    """
-    Set an environment for SALOME app.
-
-    Args:
-        context - an SalomeContext object.
-        ext_root_dir - a path to __SALOME_EXT__ directory.
-
-    Returns:
-        None.
-    """
-
-    python_version = '{}.{}'.format(sys.version_info[0], sys.version_info[1])
-    python_libdir = os.path.join('lib', 'python' + python_version, 'site-packages')
-
-    reinitialise_paths = True
-
-    #[SALOME_COMMON]
-
-    out_dir_Path=os.path.dirname(os.path.realpath(__file__))
-
-    # Seting SALOME modules environment
-    modules = ext_info_dict(out_dir_Path)
-    for module in modules:
-        print
-        for component in modules[module][2].split(', '):
-            context.setVariable('%s_ROOT_DIR'%component, ext_root_dir, overwrite=True)
-    context.addToPath(os.path.join(ext_root_dir, 'bin', 'salome'))
-    context.addToLdLibraryPath(os.path.join(ext_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(ext_root_dir, 'bin', 'salome'))
-    context.addToPythonPath(os.path.join(ext_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(ext_root_dir, python_libdir, 'salome'))
-
-    # Seting SALOME prerequis and tools environment
-    context.addToPath(os.path.join(ext_root_dir, 'bin'))
-    context.addToLdLibraryPath(os.path.join(ext_root_dir, 'lib'))
-    context.addToPythonPath(os.path.join(ext_root_dir, 'bin'))
-    context.addToPythonPath(os.path.join(ext_root_dir, 'lib'))
-    context.addToPythonPath(os.path.join(ext_root_dir, python_libdir))
-
-    res_dir = os.path.join(ext_root_dir, 'share', 'salome', 'resources', 'gui')
-    if reinitialise_paths:
-        context.setVariable('SalomeAppConfig', res_dir, overwrite=True)
-    else:
-        context.addToVariable('SalomeAppConfig', res_dir, separator=os.pathsep)
diff --git a/bin/SalomeOnDemandTK/GEOM.salomexb b/bin/SalomeOnDemandTK/GEOM.salomexb
deleted file mode 100644 (file)
index 57069df..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-GEOM/bin
-GEOM/lib
-GEOM/share
diff --git a/bin/SalomeOnDemandTK/GEOM.salomexd b/bin/SalomeOnDemandTK/GEOM.salomexd
deleted file mode 100644 (file)
index bb92ace..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-    "name": "GEOM",
-    "descr": "SALOME extension",
-    "depends_on": ["Base"],
-    "author": "SALOME Team",
-    "components": ["GEOM"]
-}
diff --git a/bin/SalomeOnDemandTK/GEOM_env.py b/bin/SalomeOnDemandTK/GEOM_env.py
deleted file mode 100644 (file)
index c834453..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding:utf-8 -*-
-
-"""
-Add a custom environment to the SALOME extension.
-"""
-
-import os
-import sys
-
-
-def init(context, root_dir):
-    """
-    Set an environment for an extension on start of SALOME app.
-
-    Args:
-        context - an SalomeContext object.
-        root_dir - a path to __SALOME_EXT__ directory.
-
-    Returns:
-        None.
-    """
-
-    python_version = '{}.{}'.format(sys.version_info[0], sys.version_info[1]) 
-    python_libdir = os.path.join('lib', 'python' + python_version, 'site-packages')
-
-    #[GEOM]
-    geom_root_dir = os.path.join(root_dir, 'GEOM')
-    context.setVariable('GEOM_ROOT_DIR', geom_root_dir, overwrite=True)
-    context.addToPath(os.path.join(geom_root_dir, 'bin', 'salome'))
-    context.addToLdLibraryPath(os.path.join(geom_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(geom_root_dir, 'bin', 'salome'))
-    context.addToPythonPath(os.path.join(geom_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(geom_root_dir, python_libdir, 'salome'))
-
-    context.setVariable('PARALLEL_VISU', '1', overwrite=True)
-
-    geom_res_dir = os.path.join(geom_root_dir, 'share', 'salome', 'resources', 'geom')
-    context.addToVariable('SalomeAppConfig', geom_res_dir, separator=os.pathsep)
-    context.setVariable('GEOM_PluginsList',
-        'BREPPlugin:STEPPlugin:IGESPlugin:STLPlugin:XAOPlugin:VTKPlugin:AdvancedGEOM',
-        overwrite=True)
-    context.setVariable('CSF_ShHealingDefaults', geom_res_dir, overwrite=True)
diff --git a/bin/SalomeOnDemandTK/PYHELLO.salomexb b/bin/SalomeOnDemandTK/PYHELLO.salomexb
deleted file mode 100644 (file)
index 07ff2f7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-PYHELLO/bin/salome
-PYHELLO/lib
-PYHELLO/share
diff --git a/bin/SalomeOnDemandTK/PYHELLO.salomexd b/bin/SalomeOnDemandTK/PYHELLO.salomexd
deleted file mode 100644 (file)
index f1c1f05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-    "name": "PYHELLO",
-    "descr": "SALOME extension",
-    "depends_on": ["Base"],
-    "author": "SALOME Team",
-    "components": ["PYHELLO"]
-}
diff --git a/bin/SalomeOnDemandTK/PYHELLO_env.py b/bin/SalomeOnDemandTK/PYHELLO_env.py
deleted file mode 100644 (file)
index eea9b36..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding:utf-8 -*-
-
-"""
-Add a custom environment to the SALOME extension.
-"""
-
-import os
-import sys
-
-
-def init(context, root_dir):
-    """
-    Set an environment for an extension on start of SALOME app.
-
-    Args:
-        context - an SalomeContext object.
-        root_dir - a path to __SALOME_EXT__ directory.
-
-    Returns:
-        None.
-    """
-
-    python_version = '{}.{}'.format(sys.version_info[0], sys.version_info[1]) 
-    python_libdir = os.path.join('lib', 'python' + python_version, 'site-packages')
-
-    #[PYHELLO]
-    pyhello_root_dir = os.path.join(root_dir, 'PYHELLO')
-    context.setVariable('PYHELLO_ROOT_DIR', pyhello_root_dir, overwrite=True)
-    context.addToPath(os.path.join(pyhello_root_dir, 'bin', 'salome'))
-    context.addToLdLibraryPath(os.path.join(pyhello_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(pyhello_root_dir, 'bin', 'salome'))
-    context.addToPythonPath(os.path.join(pyhello_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(pyhello_root_dir, python_libdir, 'salome'))
-    context.addToVariable('SALOME_MODULES', 'PYHELLO', separator=',')
-
-    pyhello_res_dir = os.path.join(pyhello_root_dir, 'share', 'salome', 'resources', 'pyhello')
-    context.addToVariable('SalomeAppConfig', pyhello_res_dir, separator=os.pathsep)
diff --git a/bin/SalomeOnDemandTK/SMESH_and_plugins.salomexb b/bin/SalomeOnDemandTK/SMESH_and_plugins.salomexb
deleted file mode 100644 (file)
index 2be560a..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-SMESH/bin
-SMESH/lib
-SMESH/share
-gmsh/bin
-gmsh/lib
-gmsh/share
-NETGENPLUGIN/bin
-NETGENPLUGIN/lib
-NETGENPLUGIN/share
diff --git a/bin/SalomeOnDemandTK/SMESH_and_plugins.salomexd b/bin/SalomeOnDemandTK/SMESH_and_plugins.salomexd
deleted file mode 100644 (file)
index 829d7ab..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-    "name": "SMESH_and_plugins",
-    "descr": "SALOME extension",
-    "depends_on": ["Base", "GEOM"],
-    "author": "SALOME Team",
-    "components": ["SMESH", "gmsh", "NETGENPLUGIN"]
-}
diff --git a/bin/SalomeOnDemandTK/SMESH_and_plugins_env.py b/bin/SalomeOnDemandTK/SMESH_and_plugins_env.py
deleted file mode 100644 (file)
index 7b60576..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding:utf-8 -*-
-
-"""
-Add a custom environment to the SALOME extension.
-"""
-
-import os
-import sys
-
-
-def init(context, root_dir):
-    """
-    Set an environment for an extension on start of SALOME app.
-
-    Args:
-        context - an SalomeContext object.
-        root_dir - a path to __SALOME_EXT__ directory.
-
-    Returns:
-        None.
-    """
-
-    python_version = '{}.{}'.format(sys.version_info[0], sys.version_info[1])
-    python_libdir = os.path.join('lib', 'python' + python_version, 'site-packages')
-
-    reinitialise_paths = True
-
-    #[SMESH]
-    smesh_root_dir = os.path.join(root_dir, 'SMESH')
-    context.setVariable('SMESH_ROOT_DIR', smesh_root_dir, overwrite=True)
-    context.addToPath(os.path.join(smesh_root_dir, 'bin', 'salome'))
-    context.addToLdLibraryPath(os.path.join(smesh_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(smesh_root_dir, 'bin', 'salome'))
-    context.addToPythonPath(os.path.join(smesh_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(smesh_root_dir, python_libdir, 'salome'))
-    if reinitialise_paths:
-        context.setVariable('SMESH_MeshersList', 'StdMeshers', overwrite=True)
-    else:
-        context.addToVariable('SMESH_MeshersList', 'StdMeshers', separator=os.pathsep)
-
-    smesh_res_dir = os.path.join(smesh_root_dir, 'share', 'salome', 'resources', 'smesh')
-    context.addToVariable('SalomeAppConfig', smesh_res_dir, separator=os.pathsep)
-
-    #[gmsh]
-    gmsh_root_dir = os.path.join(root_dir, 'gmsh')
-    context.setVariable('GMSHHOME', gmsh_root_dir, overwrite=True)
-    context.setVariable('GMSH_ROOT_DIR', gmsh_root_dir, overwrite=True)
-    context.addToLdLibraryPath(os.path.join(gmsh_root_dir, 'lib'))
-
-    #[NETGENPLUGIN]
-    netgenplugin_root_dir = os.path.join(root_dir, 'NETGENPLUGIN')
-    context.setVariable('NETGENPLUGIN_ROOT_DIR', netgenplugin_root_dir, overwrite=True)
-    context.addToPath(os.path.join(netgenplugin_root_dir, 'bin', 'salome'))
-    context.addToLdLibraryPath(os.path.join(netgenplugin_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(netgenplugin_root_dir, 'bin', 'salome'))
-    context.addToPythonPath(os.path.join(netgenplugin_root_dir, 'lib', 'salome'))
-    context.addToPythonPath(os.path.join(netgenplugin_root_dir, python_libdir, 'salome'))
-    context.addToVariable('SMESH_MeshersList', 'NETGENPlugin', separator=os.pathsep)
-
-    netgenplugin_res_dir = os.path.join(netgenplugin_root_dir,
-        'share', 'salome', 'resources', 'netgenplugin')
-    context.addToVariable('SalomeAppConfig', netgenplugin_res_dir, separator=os.pathsep)