blob: ce2afcfc363840e2c144977c1d0273f853326870 [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 Rodgman16799db2023-11-02 19:47:20 +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'))
David Horstmann04f34332024-05-03 14:34:57 +010018sys.path.append(os.path.join(os.path.dirname(__file__),
19 os.path.pardir, os.path.pardir,
20 'framework', 'scripts'))