From: ptv Date: Thu, 11 May 2006 12:16:58 +0000 (+0000) Subject: win32 porting for libraries and scripts X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=de009468da4c593a5fee471cefa04c204c2c72b2;p=modules%2Fkernel.git win32 porting for libraries and scripts --- 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,