mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-27 19:16:44 +00:00
Update tasks.py (#8522)
- Improvement for 'install' task - Ensure requirements.txt is always resolved correctly
This commit is contained in:
parent
70f5fe8c97
commit
c5f529f64a
3
tasks.py
3
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}'")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user