blob: 5d83f29f92f1db9c7d75e200d127de4d1f75c056 [file] [log] [blame]
Gilles Peskine45d350b2020-12-10 23:11:59 +01001"""Add our Python library directory to the module search path.
2
3Usage:
4
5 import scripts_path # pylint: disable=unused-import
6"""
7
8# Copyright The Mbed TLS Contributors
Dave Rodgman7ff79652023-11-03 12:04:52 +00009# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Gilles Peskine45d350b2020-12-10 23:11:59 +010010#
Gilles Peskine45d350b2020-12-10 23:11:59 +010011
12import os
13import sys
14
15sys.path.append(os.path.join(os.path.dirname(__file__),
16 os.path.pardir, os.path.pardir,
17 'scripts'))