From 006eff5330c831ddaeb79e3cc98f1dbaf17e1a48 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Mon, 23 Nov 2020 12:58:46 +0000 Subject: [PATCH] CMake: Add requirements.txt file for required Python modules The memmap script depends on external Python modules. The added file captures the required packages to be installed. --- tools/cmake/README.md | 1 + tools/cmake/requirements.txt | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 tools/cmake/requirements.txt diff --git a/tools/cmake/README.md b/tools/cmake/README.md index ec6c5a3fb6..108124e862 100644 --- a/tools/cmake/README.md +++ b/tools/cmake/README.md @@ -49,6 +49,7 @@ Supported examples can be identified by the presence of a top level `CMakeLists. Prerequisities: - CMake >=3.19.0 - mbed-tools >=4.0.0 +- Python modules defined in [`tools/cmake/requirements.txt`](./requirements.txt) From the application root or wherever `mbed-os.lib` is found, run the following command to: * create the Mbed OS configuration CMake module diff --git a/tools/cmake/requirements.txt b/tools/cmake/requirements.txt new file mode 100644 index 0000000000..5d7a71bdbb --- /dev/null +++ b/tools/cmake/requirements.txt @@ -0,0 +1,3 @@ +prettytable==0.7.2 +future==0.16.0 +Jinja2>=2.10.1,<2.11