From: Nabil Ghodbane Date: Mon, 26 Apr 2021 13:37:08 +0000 (+0200) Subject: SIP - Windows wrong version in environment file... X-Git-Tag: V9_7_0~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d01338b168f2f9b7722e80ff4145ce6e2c3c63fc;p=tools%2Fsat_salome.git SIP - Windows wrong version in environment file... --- diff --git a/products/env_scripts/sip.py b/products/env_scripts/sip.py index 23fa384..9b79f12 100644 --- a/products/env_scripts/sip.py +++ b/products/env_scripts/sip.py @@ -22,11 +22,12 @@ def set_env(env, prereq_dir, version): env.prepend('CPLUS_INCLUDE_PATH', os.path.join(prereq_dir, 'include', pyver)) else: env.prepend('CPLUS_INCLUDE_PATH', os.path.join(prereq_dir, 'include', pyver)) - if '5.5.1' in version: - env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', 'site-packages')) + if '5.5.0' in version: + env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'Lib', 'site-packages')) + env.prepend('PATH', os.path.join(prereq_dir, 'scripts')) else: env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages')) - env.prepend('PATH', os.path.join(prereq_dir, 'bin')) + env.prepend('PATH', os.path.join(prereq_dir, 'bin')) def set_nativ_env(env): env.set('SIPDIR', '/usr')