From: Nabil Ghodbane Date: Tue, 18 Oct 2022 12:37:56 +0000 (+0200) Subject: DILL: windows: no need to extend PYTHONPATH since uses pip X-Git-Tag: V9_11_0~222 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be7a174130698f10edb26d505366e308926c91e2;p=tools%2Fsat_salome.git DILL: windows: no need to extend PYTHONPATH since uses pip --- diff --git a/products/env_scripts/dill.py b/products/env_scripts/dill.py index c723c16..9af1da5 100644 --- a/products/env_scripts/dill.py +++ b/products/env_scripts/dill.py @@ -1,10 +1,15 @@ #!/usr/bin/env python import os.path +import platform def set_env(env, prereq_dir, version): env.set('DILL_ROOT_DIR', prereq_dir) - env.set('OT_VERSION',version) + env.set('DILL_VERSION',version) pyver = 'python' + env.get('PYTHON_VERSION') - env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages')) + if platform.system() == "Windows" : + pass + else: + env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages')) + def set_nativ_env(env): pass