Skip to content

Commit 3730e4a

Browse files
committed
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 <[email protected]>
1 parent f62b8ba commit 3730e4a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

scripts/min_requirements.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env python3
2+
"""Install all the required Python packages, with the minimum Python version.
3+
"""
4+
5+
# Copyright The Mbed TLS Contributors
6+
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
7+
8+
import os
9+
import framework_scripts_path # pylint: disable=unused-import
10+
from mbedtls_framework import min_requirements
11+
12+
# The default file is located in the same folder as this script.
13+
DEFAULT_REQUIREMENTS_FILE = 'ci.requirements.txt'
14+
15+
min_requirements.main(os.path.join(os.path.dirname(__file__),
16+
DEFAULT_REQUIREMENTS_FILE))

0 commit comments

Comments
 (0)