]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
SIP - Windows wrong version in environment file...
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 26 Apr 2021 13:37:08 +0000 (15:37 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 26 Apr 2021 13:37:08 +0000 (15:37 +0200)
products/env_scripts/sip.py

index 23fa384c9804c370552b71f2da5746ff44db90a2..9b79f12edc0c123e3a1294f6ad5a3708df67ba31 100644 (file)
@@ -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')