From 5a452e5e32a0ee859b2263358f1e408683e0f2ea Mon Sep 17 00:00:00 2001 From: zhangrouyu Date: Thu, 27 Oct 2022 01:15:50 -0400 Subject: [PATCH] Create a requirements.txt for python package on GSG Tracked-On: #8269 Signed-off-by: zhangrouyu --- doc/getting-started/getting-started.rst | 3 ++- misc/config_tools/requirements.txt | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/getting-started/getting-started.rst b/doc/getting-started/getting-started.rst index 232226689..7d347322e 100644 --- a/doc/getting-started/getting-started.rst +++ b/doc/getting-started/getting-started.rst @@ -143,7 +143,8 @@ To set up the ACRN build environment on the development computer: .. code-block:: bash - sudo pip3 install "elementpath==2.5.0" lxml "xmlschema==1.9.2" defusedxml tqdm requests + cd ~/acrn-work/acrn-hypervisor + sudo python3 -m pip install -r misc/config_tools/requirements.txt #. Build and install the iASL compiler/disassembler used for advanced power management, device discovery, and configuration (ACPI) within the host OS: diff --git a/misc/config_tools/requirements.txt b/misc/config_tools/requirements.txt index 202d4d817..d8c83b915 100644 --- a/misc/config_tools/requirements.txt +++ b/misc/config_tools/requirements.txt @@ -1,5 +1,5 @@ defusedxml lxml -elementpath==2.5.3 -xmlschema==1.9.2 -tqdm \ No newline at end of file +elementpath>=2.5.0 +xmlschema +tqdm