mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Refactor virtual environment setup to use VIRTUAL_ENV for pip installation
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
This commit is contained in:
co-authored by
Nicola Soranzo
parent
591237efab
commit
0a75c2f7a0
@@ -74,7 +74,7 @@ while read package; do
|
||||
if [ ! -d "$VENV" ]; then
|
||||
if command -v uv >/dev/null; then
|
||||
uv venv "$VENV"
|
||||
uv pip install --python "${VENV}/bin/python" -r <(grep -v test-requirements.txt dev-requirements.txt)
|
||||
VIRTUAL_ENV="${VENV}" uv pip install -r <(grep -v test-requirements.txt dev-requirements.txt)
|
||||
else
|
||||
python3 -m venv "$VENV"
|
||||
"${VENV}/bin/pip" install -r <(grep -v test-requirements.txt dev-requirements.txt)
|
||||
|
||||
Reference in New Issue
Block a user