From c5f529f64a2d5e3543335f8178e0028cfa558005 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 20 Nov 2024 00:01:07 +1100 Subject: [PATCH] Update tasks.py (#8522) - Improvement for 'install' task - Ensure requirements.txt is always resolved correctly --- tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 3100764037..b41e2ddc03 100644 --- a/tasks.py +++ b/tasks.py @@ -286,7 +286,8 @@ def plugins(c, uv=False): ) def install(c, uv=False, skip_plugins=False): """Installs required python packages.""" - INSTALL_FILE = 'src/backend/requirements.txt' + # Ensure path is relative to *this* directory + INSTALL_FILE = localDir().joinpath('src/backend/requirements.txt') info(f"Installing required python packages from '{INSTALL_FILE}'")