mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36: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):
|
def install(c, uv=False, skip_plugins=False):
|
||||||
"""Installs required python packages."""
|
"""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}'")
|
info(f"Installing required python packages from '{INSTALL_FILE}'")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user