mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-05 10:47:46 +00:00
Create a new directory for non-user-facing scripts
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 <[email protected]>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
# Python module requirements for maintainer utilities
|
||||
@@ -0,0 +1,18 @@
|
||||
"""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'))
|
||||
Reference in New Issue
Block a user