Harry Ramsey | e1d6f74 | 2024-11-04 14:51:35 +0000 | [diff] [blame] | 1 | """Add our Python library directory to the module search path. |
| 2 | |
| 3 | Usage: |
| 4 | |
| 5 | import framework_scripts_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, |
Harry Ramsey | fb4824b | 2024-11-04 16:41:22 +0000 | [diff] [blame^] | 17 | os.path.pardir, |
Harry Ramsey | e1d6f74 | 2024-11-04 14:51:35 +0000 | [diff] [blame] | 18 | 'framework', 'scripts')) |