From de009468da4c593a5fee471cefa04c204c2c72b2 Mon Sep 17 00:00:00 2001 From: ptv Date: Thu, 11 May 2006 12:16:58 +0000 Subject: [PATCH] win32 porting for libraries and scripts --- bin/setenv.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/setenv.py b/bin/setenv.py index 2ddb9d8a9..f4956b2cd 100755 --- a/bin/setenv.py +++ b/bin/setenv.py @@ -135,12 +135,13 @@ def set_env(args, modules_list, modules_root_dir): pass add_path(os.path.join(module_root_dir,"bin",salome_subdir), "PYTHONPATH") + # add lib before site-packages to load script instead of dll if any (win32 platform) + add_path(os.path.join(module_root_dir,"lib",salome_subdir), + "PYTHONPATH") add_path(os.path.join(module_root_dir,"lib", python_version,"site-packages", salome_subdir), "PYTHONPATH") - add_path(os.path.join(module_root_dir,"lib",salome_subdir), - "PYTHONPATH") add_path(os.path.join(module_root_dir,"lib", python_version,"site-packages", salome_subdir, -- 2.39.2