1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-10 10:40:59 +03:00
Files
.github
3rdparty
ChangeLog.d
cmake
configs
docs
doxygen
framework
include
library
pkgconfig
programs
scripts
data_files
abi_check.py
apidoc_full.sh
assemble_changelog.py
basic.requirements.txt
bump_version.sh
ci.requirements.txt
code_size_compare.py
code_style.py
common.make
config.pl
config.py
driver.requirements.txt
ecc-heap.sh
ecp_comb_table.py
footprint.sh
framework_scripts_path.py
generate_driver_wrappers.py
generate_errors.pl
generate_features.pl
generate_psa_constants.py
generate_query_config.pl
generate_ssl_debug_helpers.py
generate_visualc_files.pl
lcov.sh
maintainer.requirements.txt
make_generated_files.bat
massif_max.pl
memory.sh
min_requirements.py
output_env.sh
prepare_release.sh
project_name.txt
tmp_ignore_makefiles.sh
windows_msbuild.bat
tests
visualc
.gitattributes
.gitignore
.gitmodules
.globalrc
.mypy.ini
.pylintrc
.readthedocs.yaml
.travis.yml
.uncrustify.cfg
BRANCHES.md
BUGS.md
CMakeLists.txt
CONTRIBUTING.md
ChangeLog
DartConfiguration.tcl
LICENSE
Makefile
README.md
SECURITY.md
SUPPORT.md
dco.txt
mbedtls/scripts/framework_scripts_path.py
David Horstmann 7f6c81a9e3 Rename framework_path to framework_scripts_path
This name is more descriptive of its purpose, since it actually adds
framework/scripts to the path rather than just framework/

Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-05-13 14:44:37 +01:00

18 lines
419 B
Python

"""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,
'framework', 'scripts'))