Add an overall requirements.txt file

This allows to more easily expand python packages

Change-Id: I86dd14cb2f38989ee1b4efdac1089f573f1d6307
Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
Cristian Le
2025-04-10 16:48:02 +02:00
parent 9f6b61e3fa
commit 5628f067e4
19 changed files with 22 additions and 20 deletions

View File

@@ -85,7 +85,7 @@ Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv wh
# The lowest version available on all windows platforms that we currently run on that satisfies
# these requirements is 3.10.
if ([version]::Parse($version) -gt [version]::Parse("3.10")) {
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install -r $PSScriptRoot\..\shared\sbom_requirements.txt"
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install -r $PSScriptRoot\..\shared\requirements.txt"
# Set the environment variable for the build system to know which python path to use for SBOM
# processing.
Set-EnvironmentVariable "SBOM_PYTHON_APPS_PATH" "$install_path\Scripts"