From be7a174130698f10edb26d505366e308926c91e2 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 18 Oct 2022 14:37:56 +0200 Subject: [PATCH] DILL: windows: no need to extend PYTHONPATH since uses pip --- products/env_scripts/dill.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.2