David Horstmann | b8e1332 | 2024-05-03 14:50:58 +0100 | [diff] [blame^] | 1 | """Add our Python library directory to the module search path. |
2 | |||||
3 | Usage: | ||||
4 | |||||
5 | import framework_path # pylint: disable=unused-import | ||||
6 | """ | ||||
7 | |||||
8 | # Copyright The Mbed TLS Contributors | ||||
9 | # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||||
10 | # | ||||
11 | |||||
12 | import os | ||||
13 | import sys | ||||
14 | |||||
15 | sys.path.append(os.path.join(os.path.dirname(__file__), | ||||
16 | os.path.pardir, | ||||
17 | 'framework', 'scripts')) |