mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-09 01:13:42 +00:00
scripts: add new min_requirements.py script
This call into the "old" script that has been moved to the framework repository. The *.requirements.txt files are kept on this repo though. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
daee50c522
commit
3d82c25047
16
scripts/min_requirements.py
Executable file
16
scripts/min_requirements.py
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Install all the required Python packages, with the minimum Python version.
|
||||
"""
|
||||
|
||||
# Copyright The Mbed TLS Contributors
|
||||
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||
|
||||
import os
|
||||
import framework_scripts_path # pylint: disable=unused-import
|
||||
from mbedtls_framework import min_requirements
|
||||
|
||||
# The default file is located in the same folder as this script.
|
||||
DEFAULT_REQUIREMENTS_FILE = 'ci.requirements.txt'
|
||||
|
||||
min_requirements.main(os.path.join(os.path.dirname(__file__),
|
||||
DEFAULT_REQUIREMENTS_FILE))
|
Loading…
x
Reference in New Issue
Block a user