From 4e657bbc1ce5c132aa479b9bf91c20f5af3869e4 Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Wed, 20 Nov 2024 16:58:50 +0100 Subject: [PATCH] Add python module serach path library for TF PSA Crypto Signed-off-by: Gabor Mezei --- .../scripts/framework_scripts_path.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tf-psa-crypto/scripts/framework_scripts_path.py diff --git a/tf-psa-crypto/scripts/framework_scripts_path.py b/tf-psa-crypto/scripts/framework_scripts_path.py new file mode 100644 index 0000000000..fd39ce3e9a --- /dev/null +++ b/tf-psa-crypto/scripts/framework_scripts_path.py @@ -0,0 +1,18 @@ +"""Add our Python library directory to the module search path. + +Usage: + + import framework_scripts_path # pylint: disable=unused-import +""" + +# Copyright The Mbed TLS Contributors +# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later +# + +import os +import sys + +sys.path.append(os.path.join(os.path.dirname(__file__), + os.path.pardir, + os.path.pardir, + 'framework', 'scripts'))