mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-05 21:15:09 +00:00
f9a7620e5b
Create a directory for scripts that are useful to maintainers, and may be invoked as part of the CI, but are not part of the normal build. These scripts may require a recent Python version and may require additional third-party modules, unlike user-facing scripts where we try to minimize requirements. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
19 lines
434 B
Python
19 lines
434 B
Python
"""Add our Python library directory to the module search path.
|
|
|
|
Usage:
|
|
|
|
import scripts_path # pylint: disable=unused-import
|
|
from mbedtls_framework 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,
|
|
'scripts'))
|