From: Nabil Ghodbane Date: Fri, 17 Dec 2021 10:21:35 +0000 (+0100) Subject: [Windows] PV_PLUGIN_PATH uses bin X-Git-Tag: V9_8_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e5aa6aa5907f549dbbdefee4d65c9bb7a96adaf2;p=tools%2Fsat_salome.git [Windows] PV_PLUGIN_PATH uses bin --- diff --git a/products/env_scripts/ParaView.py b/products/env_scripts/ParaView.py index fbf1cc2..c72e3f9 100644 --- a/products/env_scripts/ParaView.py +++ b/products/env_scripts/ParaView.py @@ -42,9 +42,9 @@ def set_paraview_env(env, version): env.prepend('PATH', os.path.join(root, 'bin')) if platform.system() == "Windows" : - paralib = os.path.join(root, 'lib', 'paraview-' + version) - env.prepend('PATH', paralib) - env.prepend('PV_PLUGIN_PATH', paralib) + parabin = os.path.join(root, 'bin', 'paraview-' + version) + env.prepend('PATH', parabin) + env.prepend('PV_PLUGIN_PATH', parabin) env.prepend('PYTHONPATH', os.path.join(root,'bin', 'Lib', 'site-packages', 'paraview')) env.prepend('PYTHONPATH', os.path.join(root,'bin', 'Lib', 'site-packages', 'vtk')) env.prepend('PYTHONPATH', os.path.join(root,'bin', 'Lib', 'site-packages')) @@ -66,9 +66,6 @@ def set_vtk_env(env, version): env.set('VTK_ROOT_DIR', root) env.set('VTK_DIR', os.path.join(root, lib_dir, 'cmake', 'paraview-' + version)) - # OP TEST - #env.prepend('VTK_ROOT_DIR', os.path.join(root, lib_dir, 'cmake', 'paraview-' + version)) - #env.prepend('VTK_ROOT_DIR', os.path.join(root, lib_dir, 'paraview-' + version)) if not platform.system() == "Windows" : #http://computer-programming-forum.com/57-tcl/1dfddc136afccb94.htm